Skip to main content

Create Phone Number

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

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
addressstringrequired#

Length: 1–255

country_codestring · null#
Show child attributes
labelstring · null#
Show child attributes
inbound_workflow_idinteger · null#
Show child attributes
telephony_trunk_idinteger · null#
Show child attributes
is_activeboolean#

Default: true

is_default_caller_idboolean#

Default: false

extra_metadataobject#

Responses

application/json
Successful Response
idintegerrequired#
telephony_configuration_idintegerrequired#
addressstringrequired#
address_normalizedstringrequired#
address_typestringrequired#
country_codestring · null#
Show child attributes
labelstring · null#
Show child attributes
inbound_workflow_idinteger · null#
Show child attributes
inbound_workflow_namestring · null#
Show child attributes
telephony_trunk_idinteger · null#
Show child attributes
is_activebooleanrequired#
is_default_caller_idbooleanrequired#
extra_metadataobjectrequired#
created_atstringrequired#
updated_atstringrequired#
provider_syncobject · null#
Show child attributes