Remove a participant
Removes one signer from a package that has not been sent, along with the fields only that signer owns. Fields shared with another signer stay. Observers and approvers are managed in Clai. Works on a template deal. Returns the remaining participants and send readiness.
Requires the api_deals_send scope.
Authorization
bearerAuth 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 |
dealIdrequired | string | Deal ID that owns the package Format uuid |
packageIdrequired | string | Package ID Format uuid |
participantIdrequired | string | Length 1 <= length |
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://app.goclai.com/api/v1/orgs/org_2abc123/deals/550e8400-e29b-41d4-a716-446655440010/packages/550e8400-e29b-41d4-a716-446655440011/participants/string"{
"participants": [
{
"participantId": "string",
"label": "string",
"role": "signer",
"routingOrder": 0,
"fullName": "string",
"email": "string",
"phone": "string",
"needsContact": true,
"party": "client"
}
],
"readiness": {
"canSend": true,
"blockers": [
{
"reason": "missing_email",
"participantId": "string",
"label": "string"
}
]
},
"fieldCount": 0,
"prepareUrl": "string",
"isTemplate": true
}{
"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": {}
}
}POSTSave a participant contact
Saves a name and email, or the signed-in user with self: true, onto one participant. Works on a template deal: the response then includes isTemplate=true, and the saved contact is copied into every deal created from that template. Requires the `api_deals_send` scope.
GETGet staged document upload status
Polls processing status for a staged PDF upload after complete has been called. Poll until status is ready or failed; when finished, the response includes detection with outcome, participantCount, and signatureFieldCount. Returns pollAfterMs as a suggested client backoff. Requires the `api_deals_create` scope.