Update phone number
Phone numbers
Update phone number
PATCH /v1/phone-numbers/:phoneNumber
PATCH
Update phone number
Updates the
URL-encode the
Takes effect on the very next call or text - no deploy, no re-import.
The AI answers with the new details on the next call. This is how a 200-location rollout stays one agent + one PATCH per location.
custom_prompt (business profile) on a number you have already imported. The profile is layered on top of the agent prompt as a BUSINESS PROFILE section on inbound calls and SMS replies - see Phone numbers.
Request
+ if your HTTP client doesn’t do it automatically: %2B447446466847.
Body parameters
| Field | Type | Required | Notes |
|---|---|---|---|
custom_prompt | string or null | Yes | The business profile for this number. Maximum 8000 characters. Send null or an empty string to clear it - the number then falls back to the agent prompt alone. |
Response
200 OK:
Errors
| Code | HTTP | Cause |
|---|---|---|
missing_field | 400 | custom_prompt not present in the body (send null to clear, not an empty body) |
custom_prompt_too_long | 400 | Over 8000 characters |
number_not_found | 404 | Number doesn’t exist OR belongs to a different account |