Docs
AgentPhone API quickstart
Generate an API key from the dashboard, create an outbound call with one request, then poll for completion.
Create call
curl -X POST https://api.agentphone.ai/v1/calls \
-H "x-api-key: ak_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"to_phone_number": "+14155551234",
"objective": "Book a table for 2 at 7pm",
"business_name": "Nopa",
"website": "https://nopa-sf.com"
}'Poll status
curl https://api.agentphone.ai/v1/calls/{call_id} \
-H "x-api-key: ak_live_xxx"