Skip to main content

Create Telephony Trunk

POST /api/v1/organizations/telephony-configs/{config_id}/trunks — request parameters and responses from the Menace Voice API schema.
2 min read
post/api/v1/organizations/telephony-configs/{config_id}/trunks
Request example
Response
post/api/v1/organizations/telephony-configs/{config_id}/trunks

See authentication for workspace API access. Public embed and artifact endpoints use their documented session or access tokens.

Path parameters

config_idintegerrequired#

Headers

authorizationstring · null#
X-API-Keystring · null#

Body

application/json
namestringrequired#

Length: 1–64

enabledboolean#

Default: true

settingsobject#

Responses

application/json
Successful Response
idintegerrequired#
namestringrequired#
enabledbooleanrequired#
settingsobjectrequired#
phone_number_countinteger#

Default: 0

created_atstringrequired#
updated_atstringrequired#