Skip to main content

Update Phone Number

Update label, inbound binding, or activation state of a phone number
1 min read
put/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}
Request example
Response
put/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id}

Changing inbound_workflow_id re-syncs the inbound webhook with the provider; the response includes a provider_sync block with the result.

To remove an existing inbound binding, send clear_inbound_workflow: true. Sending inbound_workflow_id: null alone is treated as "no change".

Path parameters

config_idintegerrequired#
phone_number_idintegerrequired#

Headers

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

Body

application/json
labelstring · null#
Show child attributes
inbound_workflow_idinteger · null#
Show child attributes
clear_inbound_workflowboolean#

Default: false

telephony_trunk_idinteger · null#
Show child attributes
clear_trunkboolean#

Default: false

is_activeboolean · null#
Show child attributes
country_codestring · null#
Show child attributes
extra_metadataobject · null#
Show child attributes

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