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/orgs/{org_id}/plivo/numbers/purchase" payload = { "number": "<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({number: '<string>'}) }; fetch('https://x.kupe.in/v1/orgs/{org_id}/plivo/numbers/purchase', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
curl --request POST \ --url https://x.kupe.in/v1/orgs/{org_id}/plivo/numbers/purchase \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "number": "<string>" } '
{ "id": "<string>", "org_id": "<string>", "provider": "twilio", "account_sid": "<string>", "from_number": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "label": "", "exotel_subdomain": "<string>", "is_default": false, "managed_by_kupe": false, "country_iso": "<string>", "monthly_rent_minor_units": 123, "rent_currency": "INR", "next_rent_charge_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-...
US
IN
Successful Response
twilio
plivo
exotel