cURL
curl --request POST \ --url https://api.oneinbox.ai/v1/calls \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "agent_id": "<string>", "to_number": "+14155559876", "from_number": "<string>", "variables": {}, "webhook_url": "<string>" } '
{ "id": "<string>", "status": "<string>", "to_number": "<string>", "from_number": "<string>", "duration_seconds": 123, "transcript": [ { "role": "<string>", "content": "<string>" } ], "created_at": "2023-11-07T05:31:56Z" }
Documentation IndexFetch the complete documentation index at: https://docs.oneinbox.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.oneinbox.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key from the OneInbox dashboard (API Keys → Create)
E.164 format
"+14155559876"
Registered OneInbox number
Show child attributes
Created