/v1/submissions/{id}/approvals
Path Parameters
- Type: stringidmin length:1max length:64required
Headers
- Type: stringidempotency
-key min length:1max length:255Any unique string of 1 to 255 printable characters, such as a UUID. A create without it is refused with 400. The same key and request within 30 days answers with the first response and creates nothing.
Body
required
application/json
- Type: stringinput
Hash min length:1max length:128required - Type: array of string 1…500judgement
Ids min length:1max length:64required
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/v1/submissions/{id}/approvals
curl /v1/submissions/sub_0196f2a0-4c1e-7a00-8000-000000000001/approvals \
--request POST \
--header 'idempotency-key: 0b8a3f5e-1c2d-4e6f-8a9b-7c6d5e4f3a2b' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"inputHash": "3b7e1d9a5c2f8e4a6d0b3f7e1a9c5d2f8b4e6a0d3c7f1e9b5a2d8c4f6e0a3b7d",
"judgementIds": [
"jdg_0196f2a0-4c1e-7a00-8000-000000000002"
]
}'
{
"createdAt": "2026-03-02T09:45:00.000Z",
"id": "apr_0196f2a0-4c1e-7a00-8000-000000000001",
"inputHash": "3b7e1d9a5c2f8e4a6d0b3f7e1a9c5d2f8b4e6a0d3c7f1e9b5a2d8c4f6e0a3b7d",
"judgementIds": [
"jdg_0196f2a0-4c1e-7a00-8000-000000000002"
],
"object": "approval",
"status": "valid",
"submissionId": "sub_0196f2a0-4c1e-7a00-8000-000000000001",
"voidReason": null
}