Get call routing
GET/v1/profiles/{profile_id}/call-routing
- Scope
calls:read
Who answers the line's calls, and in what order.
Parameters
Path
profile_idstringrequiredThe line (
prf_…).
Response
200 OKThe routing.
strategy"team" | "team_first" | "ai_first" | "ai_after_hours" | "forward"requiredforward_tostring or nullrequiredforward_secondsinteger or nullrequiredendpoint_idstring or nullrequiredring_secondsinteger or nullrequiredai_timeout_secondsinteger or nullrequiredhoursobject or nullrequiredFields of
hourstimezonestringrequireddaysarray of integerrequiredstartstringrequiredendstringrequired
voicemailobjectrequiredFields of
voicemailgreetingstring or nullrequiredtranscribebooleanrequired
object"call_routing"requiredprofile_idstringrequiredprf_…
Errors
| Status | Code | Means |
|---|---|---|
| 409 | calling_not_set_up | The line has no calling. |
| 400 | validation_failed | A field is missing or invalid. |
| 401 | unauthorized | The API key is missing, unknown or revoked. |
| 403 | insufficient_scope | The API key lacks the scope this needs. |
| 404 | not_found | No such object, or the key can't see it. |
Every error is { "error": { "code", "message" } }. All error codes.