Endpoint
Auth
Purpose
Creates a new asynchronous coordination case and starts the workflow.Request body
| Field | Type | Required | Notes |
|---|---|---|---|
channel | EMAIL | SMS | Yes | Use EMAIL for current production workflows. |
goal | object | Yes | Must include objective. |
counterparty | object | Yes | Must include address and name. |
senderPersona | object | Yes | Must include name. |
clientReferenceId | string | No | Your stable ID for mapping the case back to your system. |
constraints | string[] | No | Hard rules for the workflow. |
maxAttempts | integer | No | Defaults to 3. |
followUpDelayHours | integer | No | Defaults to 72. |
resultSchema | object | No | JSON Schema for the final result. |
clientWebhookUrl | string | No | Recommended for event-driven integrations. |
metadata | object | No | Opaque metadata echoed back in webhooks. |
Example request
Example response
Errors
| Status | Code | Meaning |
|---|---|---|
400 | INVALID_REQUEST | Malformed JSON or failed validation |
401 | UNAUTHORIZED | Missing or invalid API key |
500 | INTERNAL_ERROR | The case could not be created |