Skip to main content
POST
/
api
/
zk-proofs
Create ZK proof
curl --request POST \
  --url https://platform.usewarp.net/api/zk-proofs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "project_id": "<string>",
  "circuit_path": "<string>"
}
'
{
  "proof": {
    "id": "<string>",
    "name": "<string>",
    "project_id": "<string>",
    "status": "draft",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "circuit_path": "<string>",
    "verification_key": "<string>",
    "proving_key": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Body

application/json
name
string
required

Proof name

project_id
string
required

Project ID

circuit_path
string

Path to circuit file

Response

ZK proof created successfully

proof
object