curl --request PUT \
--url https://app.dograh.com/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id} \
--header 'Content-Type: application/json' \
--data '
{
"label": "<string>",
"inbound_workflow_id": 123,
"clear_inbound_workflow": false,
"is_active": true,
"country_code": "<string>",
"extra_metadata": {}
}
'{
"id": 123,
"telephony_configuration_id": 123,
"address": "<string>",
"address_normalized": "<string>",
"address_type": "<string>",
"is_active": true,
"is_default_caller_id": true,
"extra_metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"country_code": "<string>",
"label": "<string>",
"inbound_workflow_id": 123,
"inbound_workflow_name": "<string>",
"provider_sync": {
"ok": true,
"message": "<string>"
}
}Update label, inbound binding, or activation state of a phone number
curl --request PUT \
--url https://app.dograh.com/api/v1/organizations/telephony-configs/{config_id}/phone-numbers/{phone_number_id} \
--header 'Content-Type: application/json' \
--data '
{
"label": "<string>",
"inbound_workflow_id": 123,
"clear_inbound_workflow": false,
"is_active": true,
"country_code": "<string>",
"extra_metadata": {}
}
'{
"id": 123,
"telephony_configuration_id": 123,
"address": "<string>",
"address_normalized": "<string>",
"address_type": "<string>",
"is_active": true,
"is_default_caller_id": true,
"extra_metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"country_code": "<string>",
"label": "<string>",
"inbound_workflow_id": 123,
"inbound_workflow_name": "<string>",
"provider_sync": {
"ok": true,
"message": "<string>"
}
}ChangingDocumentation Index
Fetch the complete documentation index at: https://docs.dograh.com/llms.txt
Use this file to discover all available pages before exploring further.
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”.Partial update. address is intentionally immutable — to change a
number, delete the row and create a new one.
Successful Response
Result of pushing a phone-number change to the upstream provider.
Returned alongside create/update responses when the route attempted to
sync inbound webhook configuration. ok=False is a warning, not a
fatal error — the DB write succeeded.
Show child attributes