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/{batch_id}/contacts" files = { "file": ("example-file", open("example-file", "rb")) } headers = {"Authorization": "Bearer <token>"} response = requests.post(url, files=files, headers=headers) print(response.text)
const form = new FormData(); form.append('file', '<string>'); const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}}; options.body = form; fetch('https://x.kupe.in/v1/batches/{batch_id}/contacts', 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/{batch_id}/contacts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file=@example-file
[ { "id": "<string>", "batch_id": "<string>", "phone_number": "<string>", "variables": {}, "status": "pending", "attempt_count": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "attempt_status": "<string>", "live_status": "<string>" } ]
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Project API key (sk-kupe-...) or a Supabase user JWT.
sk-kupe-...
Successful Response
pending
in_progress
completed
failed
exhausted
cancelled