Skip to main content

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 +)

Request Body required
  • routes object[]
  • destinations object[]
  • number string required

    Possible 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
Responses


Schema
  • routes object[]
  • destinations object[]
  • number string

    Possible 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