Update a phone menu

Updates a phone menu. A partial body is safe: your fields are merged over the current menu, so anything you omit is preserved. A sound field you send is replaced whole; one you omit keeps its sound. options is the exception — sending the array deletes and recreates every key press, so omit the key to keep the stored ones. The updated menu is not returned, so re-read it with GET /api/v1/ivr_menus/{menuId}; and a menu owned by a call flow answers 409 before anything is written. Identity fields are not settable here: the record's own id, its account, and its call-routing id are always taken from the stored record, and sending them has no effect.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The phone menu's UUID.

Body Params
string | null

Menu name.

string | null

The number the menu answers on. A number in the reserved 10000–19999 range is refused with 400 (code reserved_extension_band).

string | null

Free-text description.

string | null

Language the menu speaks in.

greet_long

The greeting played when the menu answers. Takes a recording, a stock prompt or a phrase, as a sound reference: an object whose type is one of the types below. null plays no greeting.

greet_short

The shorter greeting played when the menu repeats itself. Takes a recording, a stock prompt or a phrase, as a sound reference: an object whose type is one of the types below. null plays the long greeting instead.

invalid_sound

Played when the caller presses a key the menu doesn't offer. Takes a recording or a stock prompt, as a sound reference: an object whose type is one of the types below. null plays nothing.

exit_sound

Played as the menu exits. Takes a recording or a stock prompt, as a sound reference: an object whose type is one of the types below. null plays nothing.

string | null

The exit action, its picker label and its argument. To clear the action, set all three to null together.

number | null

Confirmation attempts, digit timeout, and the number of invalid entries and timeouts the menu accepts before it exits.

boolean | null

Whether callers may dial an extension directly from the menu.

ringback

What the caller hears while a call sent on by the menu rings. Takes a recording, music on hold, an internet stream, a ringback tone or silence, as a sound reference: an object whose type is one of the types below. null leaves the ringback the call already has.

string | null

The caller-ID prefix added to calls leaving the menu, and the display ordering hint.

string

Replaces the menu's key presses wholesale — every stored option is deleted and recreated from this array. Omit the key to leave them alone.

Responses

401

Missing or invalid API key.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json