REST API
Base URL: https://api.agenteasy.ai/v1. All requests are authenticated with a Bearer API key and return JSON responses.
Authentication
Authenticate requests using your AgentEasy API key in the Authorization header.
Include your secret API key as a Bearer token on every request. Never expose live keys in client-side browser code.
Authorization: Bearer ae_live_9f8a7b6c5d4e3f2a1bRotate compromised keys immediately from the AgentEasy dashboard. Keys prefixed with ae_live_ bill against your active plan.
Place a call
Start an outbound AI phone call to any E.164 phone number.
/v1/callsQueues an outbound call and returns a call_id immediately. Use GET /v1/calls/:id or webhooks to receive the final transcript.
tostringrequiredDestination phone number in E.164 format (e.g. +14155550199).
taskstringrequiredInstructions for what the AI agent should accomplish on the call.
metadataobjectOptional key-value metadata returned in webhooks and GET responses.
{
"id": "call_01J9X8K2M4N7P",
"status": "queued",
"to": "+14155550199",
"created_at": "2026-12-01T11:30:00Z"
}Get call status
Retrieve real-time status, transcript turns, and structured outcome for a call.
/v1/calls/:call_idReturns the current state of a call, including duration_seconds, outcome, and full transcript once completed.
call_idstringrequiredUnique identifier returned when the call was created.
{
"id": "call_01J9X8K2M4N7P",
"status": "completed",
"duration_seconds": 48,
"outcome": "Reservation confirmed for 4 guests at 7:30 PM under Alex.",
"transcript": [
{ "speaker": "agent", "text": "Hi, I'm calling to confirm a reservation for Alex..." },
{ "speaker": "recipient", "text": "Yes, we have you down for 4 at 7:30 PM." }
]
}List calls
Paginate through recent outbound calls and their outcomes.
/v1/callsReturns a reverse-chronological list of calls associated with your workspace.
limitintegerNumber of records to return (default 20, max 100).
statusstringFilter by queued, in_progress, completed, or failed.
{
"data": [
{
"id": "call_01J9X8K2M4N7P",
"status": "completed",
"to": "+14155550199",
"duration_seconds": 48
}
],
"has_more": false
}