Inboxes

List menu options

Changed on

Flattens the phone-menu tree of the line's published call flow. Each option carries a ready MENU_BRANCH condition. A line without a phone menu, or whose calls are not routed by the call-flow engine, returns an empty list. Menu conditions are only accepted on lines where this list is not empty.

get/v2/api/numbers/{number}/menu_options

Request

  • Base URL
    https://api.withallo.com
  • URL
    https://api.withallo.com/v2/api/numbers/{number}/menu_options
  • Auth
    API key in header Authorization

Path parameters

numberstring required
Example:+33612345678

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

Response

Menu options

Example response

{
  "data": [
    {
      "node_id": "node-7",
      "path": [
        {
          "node_id": "node-3",
          "digit": "2"
        }
      ],
      "digits": "1>2",
      "label": "Sales",
      "condition": {
        "node_id": "node-3",
        "digits": [
          "1"
        ]
      }
    }
  ]
}

Changes