curl --request GET \
--url https://api.bland.ai/v1/sip/test-call/status \
--header 'authorization: <authorization>'{
"data": {
"status": "completed",
"result": "connected",
"duration_seconds": 8,
"timeline": [
{ "event": "initiated", "at": "2026-03-09T12:00:00Z", "detail": "Call initiated" },
{ "event": "ringing", "at": "2026-03-09T12:00:01Z", "detail": "Endpoint ringing" },
{ "event": "answered", "at": "2026-03-09T12:00:03Z", "detail": "Call answered" },
{ "event": "completed", "at": "2026-03-09T12:00:08Z", "detail": "Call ended" }
]
},
"errors": null
}
Poll the status and trace of a SIP test call.
curl --request GET \
--url https://api.bland.ai/v1/sip/test-call/status \
--header 'authorization: <authorization>'{
"data": {
"status": "completed",
"result": "connected",
"duration_seconds": 8,
"timeline": [
{ "event": "initiated", "at": "2026-03-09T12:00:00Z", "detail": "Call initiated" },
{ "event": "ringing", "at": "2026-03-09T12:00:01Z", "detail": "Endpoint ringing" },
{ "event": "answered", "at": "2026-03-09T12:00:03Z", "detail": "Call answered" },
{ "event": "completed", "at": "2026-03-09T12:00:08Z", "detail": "Call ended" }
]
},
"errors": null
}
POST /v1/sip/test-call."queued", "initiated", "ringing", "in-progress", "completed", "failed", "busy", "no-answer"."connected", "failed", "busy", "no_answer", "pending".event (string), at (timestamp), and detail (string) fields.curl -X GET 'https://api.bland.ai/v1/sip/test-call/status?call_id=tc_abc123' \
-H "Authorization: Bearer <token>"
{
"data": {
"status": "completed",
"result": "connected",
"duration_seconds": 8,
"timeline": [
{ "event": "initiated", "at": "2026-03-09T12:00:00Z", "detail": "Call initiated" },
{ "event": "ringing", "at": "2026-03-09T12:00:01Z", "detail": "Endpoint ringing" },
{ "event": "answered", "at": "2026-03-09T12:00:03Z", "detail": "Call answered" },
{ "event": "completed", "at": "2026-03-09T12:00:08Z", "detail": "Call ended" }
]
},
"errors": null
}
Was this page helpful?