Get routing details
Path Parameters
- service_number string required
Possible values: Value must match regular expression
^[0-9]{1,14}$
The service number in E.164 format (without leading +)
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
routes object[]
destinations object[]
number stringPossible values: Value must match regular expression
^[0-9]{1,14}$
- intro_media_id integer
Audio to play to the caller party when the call is answered. Expects an ID from the /media GET request.
- whisper_media_id integer
Audio to play to the called party when the call is answered. Expects an ID from the /media GET request.
- call_recording boolean
{
"routes": [
{
"destinations": [
{
"number": "447719738000"
}
]
}
],
"intro_media_id": 1,
"whisper_media_id": 2,
"call_recording": true
}