Create number routing
Create an advanced routing.
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 +)
- application/json
Request Body required
routes object[]
destinations object[]
number string requiredPossible 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
- 200
- 400
- 403
- 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
}
Unknown feature / audio id
You don't have permissions to set call recording on the number