{"info":{"name":"Nexora AI Call API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":"Generated from /api/v1/openapi.json. Set baseUrl and apiKey (use a sv_test_ key first)."},"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{apiKey}}","type":"string"}]},"variable":[{"key":"baseUrl","value":"https://nexora-ai-call.com"},{"key":"apiKey","value":"sv_test_YOUR_KEY"},{"key":"accountSid","value":"ACCOUNT_SID_OR_KEY_ID"}],"item":[{"name":"balance","item":[{"name":"GET /api/v1/balance — Available prepaid balance (THB, decimal string)","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/balance","host":["{{baseUrl}}"],"path":["api","v1","balance"]}}}]},{"name":"calls","item":[{"name":"GET /api/v1/call-campaigns — List call campaigns","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/call-campaigns","host":["{{baseUrl}}"],"path":["api","v1","call-campaigns"]}}},{"name":"POST /api/v1/call-campaigns — Create a call campaign from a recipient list (draft until started)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/call-campaigns","host":["{{baseUrl}}"],"path":["api","v1","call-campaigns"]},"body":{"mode":"raw","raw":"{\"name\":\"My key\",\"recipients\":[{\"to\":\"+66000000001\"}]}","options":{"raw":{"language":"json"}}}}},{"name":"GET /api/v1/call-campaigns/{id} — Campaign status, summary and per-recipient results","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/call-campaigns/:id","host":["{{baseUrl}}"],"path":["api","v1","call-campaigns",":id"]}}},{"name":"POST /api/v1/call-campaigns/{id}/actions — Start, pause, resume or cancel a campaign","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/call-campaigns/:id/actions","host":["{{baseUrl}}"],"path":["api","v1","call-campaigns",":id","actions"]},"body":{"mode":"raw","raw":"{\"action\":\"start\"}","options":{"raw":{"language":"json"}}}}},{"name":"GET /api/v1/calls — List calls (cursor pagination)","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/calls","host":["{{baseUrl}}"],"path":["api","v1","calls"]}}},{"name":"POST /api/v1/calls — Place one call (async; returns the call in queued / initiated). Needs Idempotency-Key and, for non-personal calls, lawful_basis_ref","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/calls","host":["{{baseUrl}}"],"path":["api","v1","calls"]},"body":{"mode":"raw","raw":"{\"to\":\"+66000000001\"}","options":{"raw":{"language":"json"}}}}},{"name":"GET /api/v1/calls/{id} — Fetch one call","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/calls/:id","host":["{{baseUrl}}"],"path":["api","v1","calls",":id"]}}},{"name":"POST /api/v1/calls/{id}/callback — Call back the caller of an inbound call (caller ID = the number they dialled)","request":{"method":"POST","header":[{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/calls/:id/callback","host":["{{baseUrl}}"],"path":["api","v1","calls",":id","callback"]}}},{"name":"GET /api/v1/calls/{id}/detail — Call detail: cost breakdown, legs, events, transcript, recordings","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/calls/:id/detail","host":["{{baseUrl}}"],"path":["api","v1","calls",":id","detail"]}}},{"name":"POST /api/v1/calls/{id}/hangup — End a call (cancels it while queued or ringing)","request":{"method":"POST","header":[{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/calls/:id/hangup","host":["{{baseUrl}}"],"path":["api","v1","calls",":id","hangup"]}}},{"name":"POST /api/v1/calls/{id}/transfer — Transfer a call in progress (cold or warm)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/calls/:id/transfer","host":["{{baseUrl}}"],"path":["api","v1","calls",":id","transfer"]},"body":{"mode":"raw","raw":"{\"to\":\"+66000000001\"}","options":{"raw":{"language":"json"}}}}},{"name":"POST /api/v1/calls/estimate — Price, caller ID and compliance checks for a call without placing it","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/calls/estimate","host":["{{baseUrl}}"],"path":["api","v1","calls","estimate"]},"body":{"mode":"raw","raw":"{\"to\":\"+66000000001\"}","options":{"raw":{"language":"json"}}}}}]},{"name":"compat","item":[{"name":"GET /2010-04-01/Accounts/{sid}/Calls.json — Twilio-compatible: list calls","request":{"method":"GET","header":[],"auth":{"type":"basic","basic":[{"key":"username","value":"{{accountSid}}"},{"key":"password","value":"{{apiKey}}"}]},"url":{"raw":"{{baseUrl}}/2010-04-01/Accounts/:sid/Calls.json","host":["{{baseUrl}}"],"path":["2010-04-01","Accounts",":sid","Calls.json"]}}},{"name":"POST /2010-04-01/Accounts/{sid}/Calls.json — Twilio-compatible: place a call (To, From, Url|Twiml, StatusCallback, MachineDetection); needs an Idempotency-Key header","request":{"method":"POST","header":[],"auth":{"type":"basic","basic":[{"key":"username","value":"{{accountSid}}"},{"key":"password","value":"{{apiKey}}"}]},"url":{"raw":"{{baseUrl}}/2010-04-01/Accounts/:sid/Calls.json","host":["{{baseUrl}}"],"path":["2010-04-01","Accounts",":sid","Calls.json"]}}},{"name":"GET /2010-04-01/Accounts/{sid}/Calls/{csid} — Twilio-compatible: fetch a call (SID.json)","request":{"method":"GET","header":[],"auth":{"type":"basic","basic":[{"key":"username","value":"{{accountSid}}"},{"key":"password","value":"{{apiKey}}"}]},"url":{"raw":"{{baseUrl}}/2010-04-01/Accounts/:sid/Calls/:csid","host":["{{baseUrl}}"],"path":["2010-04-01","Accounts",":sid","Calls",":csid"]}}},{"name":"GET /2010-04-01/Accounts/{sid}/Messages.json — Twilio-compatible: list messages","request":{"method":"GET","header":[],"auth":{"type":"basic","basic":[{"key":"username","value":"{{accountSid}}"},{"key":"password","value":"{{apiKey}}"}]},"url":{"raw":"{{baseUrl}}/2010-04-01/Accounts/:sid/Messages.json","host":["{{baseUrl}}"],"path":["2010-04-01","Accounts",":sid","Messages.json"]}}},{"name":"POST /2010-04-01/Accounts/{sid}/Messages.json — Twilio-compatible: send a message (form-encoded To, From, Body, StatusCallback)","request":{"method":"POST","header":[],"auth":{"type":"basic","basic":[{"key":"username","value":"{{accountSid}}"},{"key":"password","value":"{{apiKey}}"}]},"url":{"raw":"{{baseUrl}}/2010-04-01/Accounts/:sid/Messages.json","host":["{{baseUrl}}"],"path":["2010-04-01","Accounts",":sid","Messages.json"]}}},{"name":"GET /2010-04-01/Accounts/{sid}/Messages/{msid} — Twilio-compatible: fetch a message (SID.json)","request":{"method":"GET","header":[],"auth":{"type":"basic","basic":[{"key":"username","value":"{{accountSid}}"},{"key":"password","value":"{{apiKey}}"}]},"url":{"raw":"{{baseUrl}}/2010-04-01/Accounts/:sid/Messages/:msid","host":["{{baseUrl}}"],"path":["2010-04-01","Accounts",":sid","Messages",":msid"]}}},{"name":"GET /compat/thaibulksms/credit — ThaiBulkSMS-style: remaining credit","request":{"method":"GET","header":[],"auth":{"type":"basic","basic":[{"key":"username","value":"{{accountSid}}"},{"key":"password","value":"{{apiKey}}"}]},"url":{"raw":"{{baseUrl}}/compat/thaibulksms/credit","host":["{{baseUrl}}"],"path":["compat","thaibulksms","credit"]}}},{"name":"POST /compat/thaibulksms/sms — ThaiBulkSMS-style: send (msisdn, message, sender, force, scheduled_delivery)","request":{"method":"POST","header":[],"auth":{"type":"basic","basic":[{"key":"username","value":"{{accountSid}}"},{"key":"password","value":"{{apiKey}}"}]},"url":{"raw":"{{baseUrl}}/compat/thaibulksms/sms","host":["{{baseUrl}}"],"path":["compat","thaibulksms","sms"]}}}]},{"name":"consents","item":[{"name":"DELETE /api/v1/consents — Withdraw a consent","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/api/v1/consents","host":["{{baseUrl}}"],"path":["api","v1","consents"]},"body":{"mode":"raw","raw":"{\"id\":\"string\"}","options":{"raw":{"language":"json"}}}}},{"name":"POST /api/v1/consents — Record a recipient consent (wording version, granularity, evidence)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/consents","host":["{{baseUrl}}"],"path":["api","v1","consents"]},"body":{"mode":"raw","raw":"{\"number\":\"+66000000001\",\"purpose\":\"marketing_sms\"}","options":{"raw":{"language":"json"}}}}}]},{"name":"links","item":[{"name":"GET /api/v1/links — List short links","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/links","host":["{{baseUrl}}"],"path":["api","v1","links"]}}},{"name":"POST /api/v1/links — Create a controlled short link (our own domain; destination is reviewed)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/links","host":["{{baseUrl}}"],"path":["api","v1","links"]},"body":{"mode":"raw","raw":"{\"destination\":\"https://example.com/promo\"}","options":{"raw":{"language":"json"}}}}},{"name":"DELETE /api/v1/links/{id} — Revoke a link at once (the short URL answers 410 afterwards)","request":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/v1/links/:id","host":["{{baseUrl}}"],"path":["api","v1","links",":id"]}}},{"name":"GET /api/v1/links/{id} — One short link with its clicks","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/links/:id","host":["{{baseUrl}}"],"path":["api","v1","links",":id"]}}}]},{"name":"lookups","item":[{"name":"GET /api/v1/lookups/{number} — Look up one number (format, country, carrier, line type, active, ported); cached 24 h","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/lookups/:number","host":["{{baseUrl}}"],"path":["api","v1","lookups",":number"]}}},{"name":"POST /api/v1/lookups/batch — Clean a CSV list of numbers (plain UTF-8 CSV text, ≤ 10 000 rows); the result CSV comes back inline","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/lookups/batch","host":["{{baseUrl}}"],"path":["api","v1","lookups","batch"]},"body":{"mode":"raw","raw":"{\"csv\":\"number\\n+66000000001\\n\"}","options":{"raw":{"language":"json"}}}}}]},{"name":"messages","item":[{"name":"GET /api/v1/messages — List messages (cursor pagination)","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/messages","host":["{{baseUrl}}"],"path":["api","v1","messages"]}}},{"name":"POST /api/v1/messages — Send one SMS (async; returns the message in queued / scheduled)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/messages","host":["{{baseUrl}}"],"path":["api","v1","messages"]},"body":{"mode":"raw","raw":"{\"to\":\"+66000000001\"}","options":{"raw":{"language":"json"}}}}},{"name":"DELETE /api/v1/messages/{id} — Delete message content after it is final (PDPA); the record stays","request":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/v1/messages/:id","host":["{{baseUrl}}"],"path":["api","v1","messages",":id"]}}},{"name":"GET /api/v1/messages/{id} — Fetch one message","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/messages/:id","host":["{{baseUrl}}"],"path":["api","v1","messages",":id"]}}},{"name":"POST /api/v1/messages/{id} — Cancel a scheduled or queued message","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/messages/:id","host":["{{baseUrl}}"],"path":["api","v1","messages",":id"]},"body":{"mode":"raw","raw":"{\"status\":\"canceled\"}","options":{"raw":{"language":"json"}}}}},{"name":"GET /api/v1/messages/{id}/detail — Message detail with cost breakdown and timeline","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/messages/:id/detail","host":["{{baseUrl}}"],"path":["api","v1","messages",":id","detail"]}}},{"name":"GET /api/v1/messages/{id}/events — Status event history of a message","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/messages/:id/events","host":["{{baseUrl}}"],"path":["api","v1","messages",":id","events"]}}},{"name":"GET /api/v1/messages/batches — List batches","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/messages/batches","host":["{{baseUrl}}"],"path":["api","v1","messages","batches"]}}},{"name":"POST /api/v1/messages/batches — Send an SMS batch (≤ 10 000 recipients, async; dry_run validates and prices only)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/messages/batches","host":["{{baseUrl}}"],"path":["api","v1","messages","batches"]},"body":{"mode":"raw","raw":"{\"recipients\":[{\"to\":\"+66000000001\"}]}","options":{"raw":{"language":"json"}}}}},{"name":"GET /api/v1/messages/batches/{id} — Batch status with per-state counts","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/messages/batches/:id","host":["{{baseUrl}}"],"path":["api","v1","messages","batches",":id"]}}},{"name":"POST /api/v1/messages/batches/{id}/cancel — Cancel what has not been handed to a provider yet","request":{"method":"POST","header":[{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/messages/batches/:id/cancel","host":["{{baseUrl}}"],"path":["api","v1","messages","batches",":id","cancel"]}}},{"name":"GET /api/v1/messages/batches/{id}/items — Per-recipient status of a batch (live message status)","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/messages/batches/:id/items","host":["{{baseUrl}}"],"path":["api","v1","messages","batches",":id","items"]}}},{"name":"POST /api/v1/messages/estimate — Estimate segments, price and compliance checks without sending","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/messages/estimate","host":["{{baseUrl}}"],"path":["api","v1","messages","estimate"]},"body":{"mode":"raw","raw":"{\"to\":\"+66000000001\",\"body\":\"Your order has shipped\"}","options":{"raw":{"language":"json"}}}}}]},{"name":"senders","item":[{"name":"GET /api/v1/senders — Sender IDs of the account","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/senders","host":["{{baseUrl}}"],"path":["api","v1","senders"]}}},{"name":"POST /api/v1/senders — Request a sender ID (reviewed by the platform)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/senders","host":["{{baseUrl}}"],"path":["api","v1","senders"]},"body":{"mode":"raw","raw":"{\"value\":\"ACME\",\"category\":\"transactional\"}","options":{"raw":{"language":"json"}}}}}]},{"name":"verify","item":[{"name":"POST /api/v1/verification-checks — Check a code entered by the end user","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/verification-checks","host":["{{baseUrl}}"],"path":["api","v1","verification-checks"]},"body":{"mode":"raw","raw":"{\"code\":\"123456\"}","options":{"raw":{"language":"json"}}}}},{"name":"GET /api/v1/verifications — Recent verifications (no codes)","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/verifications","host":["{{baseUrl}}"],"path":["api","v1","verifications"]}}},{"name":"POST /api/v1/verifications — Send a verification code (SMS, with optional LINE / voice fallback)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{$guid}}"}],"url":{"raw":"{{baseUrl}}/api/v1/verifications","host":["{{baseUrl}}"],"path":["api","v1","verifications"]},"body":{"mode":"raw","raw":"{\"to\":\"+66000000001\"}","options":{"raw":{"language":"json"}}}}},{"name":"DELETE /api/v1/verifications/{id} — Cancel a pending verification","request":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/api/v1/verifications/:id","host":["{{baseUrl}}"],"path":["api","v1","verifications",":id"]}}},{"name":"GET /api/v1/verifications/{id} — Fetch one verification (another account's id answers 404)","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/api/v1/verifications/:id","host":["{{baseUrl}}"],"path":["api","v1","verifications",":id"]}}}]}]}