Add an Inbound Route

Add and configure an inbound route.


POST /api/v1.1.0/inroute/add?token={token}

Request Parameters

Name Importance Type Description
name Required String Inbound route name.
did Optional String DID pattern.
caller_id Optional String Caller ID pattern.
trunks Required String Trunk name. Separate multiple trunks with ,.

Example: "trunks":"trunk1,trunk2"

desttype Required String Destination type:
  • hangup
  • extension
  • extrange
  • voicemail
  • ivr
  • ringgroup
  • queue
  • conference
  • disa
  • callback
  • outroute
  • faxtoemail
dest Required String The specific destination.


Request Example

POST /api/v1.1.0/inroute/add?token=277ac400357b509b4a587ff2157f7ad5 HTTP/1.1
Content-Type:application/json; charset=utf-8

    "name": "sipin",
    "did": "",
    "caller_id": "",
    "trunks": "siptrunk",
    "desttype": "extension",
    "dest": "1000"

Response Example

HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
    "status": "Success"