Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Python
import requests url = "https://x.kupe.in/v1/batches" payload = { "org_id": "<string>", "project_id": "<string>", "agent_id": "<string>", "telephony_account_id": "<string>", "name": "<string>" } headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.text)
const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({ org_id: '<string>', project_id: '<string>', agent_id: '<string>', telephony_account_id: '<string>', name: '<string>' }) }; fetch('https://x.kupe.in/v1/batches', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
curl --request POST \ --url https://x.kupe.in/v1/batches \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "org_id": "<string>", "project_id": "<string>", "agent_id": "<string>", "telephony_account_id": "<string>", "name": "<string>" } '
{ "id": "<string>", "org_id": "<string>", "project_id": "<string>", "agent_id": "<string>", "telephony_account_id": "<string>", "name": "<string>", "status": "draft", "max_concurrent_calls": 123, "retry_policy": { "max_retries": 0, "retry_delay_seconds": 60, "retryable_outcomes": [ "<string>" ] }, "created_at": "2023-11-07T05:31:56Z", "schedule": { "recurrence": "once", "start_at": "2023-11-07T05:31:56Z", "days_of_week": [ 123 ], "day_of_month": 14, "window_start": "<string>", "window_end": "<string>", "timezone": "UTC", "limit_per_period": 2 }, "recipient_list_id": "<string>", "created_by": "<string>", "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z", "hidden_at": "2023-11-07T05:31:56Z" }
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Project API key (sk-kupe-...) or a Supabase user JWT.
sk-kupe-...
x >= 1
Show child attributes
{} (all fields default/None) means unscheduled — manual start/pause/ resume only, same as before this feature existed.
Successful Response
draft
running
paused
completed
cancelled