cURL
curl --request GET \ --url https://api.example.com/v1/voiceai/batch-calling/workspace \ --header 'x-api-key: <api-key>'
{ "batch_calls": [ { "id": "<string>", "name": "<string>", "agent_id": "<string>", "created_at_unix": 123, "scheduled_time_unix": 123, "last_updated_at_unix": 123, "status": "pending", "agent_name": "<string>", "phone_number_id": "<string>", "phone_provider": "twilio", "whatsapp_params": { "whatsapp_call_permission_request_template_name": "<string>", "whatsapp_call_permission_request_template_language_code": "<string>", "whatsapp_phone_number_id": "<string>" }, "total_calls_dispatched": 0, "total_calls_scheduled": 0, "total_calls_finished": 0, "retry_count": 0 } ], "next_doc": "<string>", "has_more": false }
Get all batch calls for the current workspace.
API key for programmatic access
Maximum number of results
1 <= x <= 500
Cursor for pagination
Successful Response
Response model for listing batch calls in a workspace.
List of batch calls
Show child attributes
Cursor for next page of results
Whether there are more results