Skip to main content

Call

The Call API allows you to initiate outbound calls, control active calls, and retrieve call history.

Endpoints

MethodEndpointDescription
POST/callInitiate an outbound call
GET/callList call history
GET/call/:idGet call details
POST/call/:id/hangupHang up an active call

Make a Call

POST /call

Request Body

{
"from": "+84901234567",
"to": "+84909876543",
"callFlowId": "cf_optional_flow_id"
}

Response

{
"data": {
"_id": "call_abc123",
"from": "+84901234567",
"to": "+84909876543",
"status": "ringing",
"direction": "outbound",
"startedAt": "2026-07-09T10:00:00Z"
}
}
info

Detailed request/response schemas will be added based on the API implementation.