Payments API now live! Read more at API Reference
curl --request POST \
--url https://platform.usewarp.net/api/circom-files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"name": "<string>",
"content": "<string>",
"file_type": "circuit"
}
'{
"file": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"content": "<string>",
"file_type": "circuit",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Create a new Circom file
curl --request POST \
--url https://platform.usewarp.net/api/circom-files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"name": "<string>",
"content": "<string>",
"file_type": "circuit"
}
'{
"file": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"content": "<string>",
"file_type": "circuit",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}JWT Bearer token authentication
Circom file created successfully
Show child attributes
Was this page helpful?