Schedules

Create schedule

Queue a batch of outbound calls to be dispatched at a future time.

POST
/schedules

Queue a batch of outbound calls to be dispatched at a future time.

Authorization

ApiKeyAuth
X-API-Key<token>

Voice platform authentication secret. Create one from the API Keys endpoint or your dashboard.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/schedules" \  -H "Content-Type: application/json" \  -d '{    "agentId": "agt_8skd92ja",    "name": "June re-engagement batch",    "contactCount": 120,    "scheduledAt": "2026-06-25T15:00:00Z"  }'
{  "id": "string",  "agentId": "string",  "name": "string",  "contactCount": 0,  "scheduledAt": "string",  "status": "string"}
{  "statusCode": 400,  "message": [    "name should not be empty"  ],  "error": "Bad Request"}
{  "statusCode": 401,  "message": "Unauthorized",  "error": "Unauthorized"}