Skip to main content
GET
List menu options
Required scope: INBOXES_READ

Behavior

Flattens the phone-menu tree of the line’s published call flow. Drafts are ignored. Each option gives:
  • path: the menu choices from the first menu down to this option.
  • digits: the same path as keys, for example 1>2.
  • label: the option’s name in the call flow.
  • condition: a ready MENU_BRANCH condition for this option. It is always a MENU_BRANCH.
A line without a phone menu returns an empty list, and so does a line whose calls are not routed by the call-flow engine. Menu conditions are only accepted on lines where this list is not empty, and only with paths from it. On any other line, use a whole-line source with empty conditions. Use it only to build a custom branch. For the common case, start from Get inbox suggestions.

Combine several options

A line appears once in sources, with at most one MENU_BRANCH. To cover several options of the same line, concatenate the branches of their conditions into one MENU_BRANCH:

Errors

Authorizations

Authorization
string
header
required

Path Parameters

number
string
required

Allo line in E.164 format. URL-encode the + as %2B.

Example:

"+33612345678"

Response

Menu options

data
object[]