Create a new task in a space to trigger a Voice AI outbound call
token field.Token <your-api-token>application/json{"type": "now"}| Status Code | Description |
|---|---|
| 200 | Success - Task created successfully |
| 206 | Partial Content - Business logic error occurred |
| 400 | Bad Request - Invalid parameters provided |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Access denied to the resource |
| 404 | Not Found - Space or Agent not found |
| 500 | Internal Server Error - Server-side error |
contact_number in each document — this is required for call executiondocuments array to trigger batch calls in a single requestrun_id to track task execution status using the Get All Runs APIFormat: Token
Organization domain handle
"unpod.tv"
"8KZAMRAHSXXXXXXMAYNASMJC"
Agent/pilot handle to assign the task
"space-agent-f1o3qjm1y7q1avvuynv4vprb1"
Array of contact/document objects
Additional context for the task
"Call the lead and discuss the project requirements."
Schedule configuration
{ "type": "now" }Task created successfully