POST /accounts/{accountId}/phone/sip_trunk/trunks

Using this API, a master account owner can assign SIP trunk(s) to a sub account.

Scope:

Prerequisites:

Servers

Path parameters

Name Type Required Description
accountId String Yes

Unique identifier of the account.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
sip_trunks[] Array No

SIP trunk configurations.

sip_trunks[].carrier_account String No

The account associated to the carrier.

sip_trunks[].id String No

Unique identifier of the master account's SIP trunk.

sip_trunks[].name String No

The name of the SIP Trunk. If this is not used, the master SIP Trunk name will be the default.

Default value: "master SIP Trunk name"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.