curl --request PUT \
--url http://localhost:8080/api/calls/{callId}/schedule \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-API-SECRET: <api-key>' \
--data '
{
"scheduled_timestamp": 1748460000
}
'{
"message": "Scheduled call time updated successfully",
"status": "success",
"error": null,
"data": {
"operation": "schedule_update",
"organization_id": "org-789",
"call_id": "call_bf2a9c7d-4e5f-4318-9b2a-8d7c6e4f1a0b",
"previous_scheduled_timestamp": 1748454000,
"new_scheduled_timestamp": 1748460000,
"scheduled_for_human": "2025-01-28T20:26:40Z",
"call": {
"call_id": "call_bf2a9c7d-4e5f-4318-9b2a-8d7c6e4f1a0b",
"metadata": {
"is_scheduled": true,
"scheduled_timestamp": 1748460000,
"execution_status": "pending"
},
"events": [
{
"timestamp": 1748452000000,
"event": "Scheduled call time updated via dedicated endpoint",
"data": {
"previous_scheduled_timestamp": 1748454000,
"new_scheduled_timestamp": 1748460000,
"updated_at": 1748452000000,
"endpoint_used": "/schedule"
}
}
]
}
}
}Updates a scheduled call (current behavior).
curl --request PUT \
--url http://localhost:8080/api/calls/{callId}/schedule \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-API-SECRET: <api-key>' \
--data '
{
"scheduled_timestamp": 1748460000
}
'{
"message": "Scheduled call time updated successfully",
"status": "success",
"error": null,
"data": {
"operation": "schedule_update",
"organization_id": "org-789",
"call_id": "call_bf2a9c7d-4e5f-4318-9b2a-8d7c6e4f1a0b",
"previous_scheduled_timestamp": 1748454000,
"new_scheduled_timestamp": 1748460000,
"scheduled_for_human": "2025-01-28T20:26:40Z",
"call": {
"call_id": "call_bf2a9c7d-4e5f-4318-9b2a-8d7c6e4f1a0b",
"metadata": {
"is_scheduled": true,
"scheduled_timestamp": 1748460000,
"execution_status": "pending"
},
"events": [
{
"timestamp": 1748452000000,
"event": "Scheduled call time updated via dedicated endpoint",
"data": {
"previous_scheduled_timestamp": 1748454000,
"new_scheduled_timestamp": 1748460000,
"updated_at": 1748452000000,
"endpoint_used": "/schedule"
}
}
]
}
}
}API Key for MCP server and external service authentication
API Secret for MCP server and external service authentication
Scheduled call update request body
New Unix timestamp (seconds) for when to execute the call