API ReferenceSubmissions
Void a submission
Voids one submission owned by the API key's bound user. Requires an Idempotency-Key header. A completed submission returns 409 with SUBMISSION_NOT_VOIDABLE. Voiding an already voided submission returns its current state. The body never includes signing links.
Requires the api_deals_send scope.
Authorization
bearerAuth AuthorizationBearer <token>
Bearer token using a Clai API key secret (clai_live_*).
In: header
Path Parameters
| Name | Type | Description |
|---|---|---|
orgIdrequired | string | Organization ID the key is operating in |
submissionIdrequired | string | Format uuid |
Header Parameters
| Name | Type | Description |
|---|---|---|
Idempotency-Keyrequired | string | Required client-supplied idempotency key for safe retries Length 1 <= length |
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
| Name | Type | Description |
|---|---|---|
reason | string |
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://app.goclai.com/api/v1/orgs/org_2abc123/submissions/497f6eca-6276-4993-bfeb-53cbbbba6f08/void" \ -H "Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000" \ -H "Content-Type: application/json" \ -d '{}'{
"submissionId": "23243110-f447-42f4-a433-27cb8d276b19",
"status": "draft",
"activeParticipantIds": [
"string"
],
"signers": [
{
"participantId": "string",
"label": "string",
"fullName": "string",
"email": "string",
"routingOrder": 0,
"status": "queued"
}
]
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}