Update a phone number
Authentication
Path parameters
The phone number’s id (not the E.164 number). Must be a UUID (400 otherwise).
Request
Agent that answers the number. null unbinds it (inbound calls then follow the workspace’s fallback routing).
Display name, trimmed. null clears it.
false stops using the number as caller ID and for forwarding; it stays in the list.
Turns the phone menu on or off. The menu runs on numbers bought through Jelliu only. Enabling it on a number connected over the business’s own SIP trunk, or on a WhatsApp line, is a 400: there is no menu to run there.
What the menu says before the options. Trimmed; null clears it.
The full menu, replacing the stored one. Digits must be unique across options (IVR option digits must be unique); at most 20 options.
Response
One number the workspace holds. channels says what it answers on; provider says where it lives. Field names are camelCase. Returned by every /api/phone-numbers endpoint.

