Create a phone menu

Creates a phone menu together with its key presses and its call routing. The number the menu answers on is allocated for you from your account's free range — an extension you send is ignored — and never falls in the reserved 10000–19999 range. The created menu's identity, including that number, comes back in the response, so you never have to find it again by name. Success is 200, not 201.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string | null

Menu name.

string | null

Free-text description.

string | null

en selects the US dialect and the Callie voice; any other value selects the Canadian dialect and the June voice.

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

Application the menu hands the call to when it exits. An empty string is stored as null.

string | null

Labels the exit destination for the destination picker in the app; it never changes what the exit action does.

string | null

Argument for the exit action, such as the destination it sends the call to.

number | null

How many times the menu asks the caller to confirm an entry.

number | null

How long the menu waits for the caller to press a key.

number | null

How many invalid entries the menu accepts before it exits.

number | null

How many silent 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

Caller-ID prefix added to calls leaving the menu.

number | null

Ordering hint for display.

string

The menu's key presses: [{option_digits, option_action_category, option_action, option_param, option_order, option_description, option_enabled}].

string | null

Reserved for internal use — omit it, and the menu is created on your own account.

string | null

Ignored on create; the number the menu answers on is allocated for you.

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