Call
The Call API allows you to initiate outbound calls, control active calls, and retrieve call history.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /call | Initiate an outbound call |
GET | /call | List call history |
GET | /call/:id | Get call details |
POST | /call/:id/hangup | Hang 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.