HomeUser GuidesAPI Reference
Get Started
HomeAPI Reference
Authentication
Branches
Contact Groups
Contacts
Conversations
Error HandlingInvoices
Messages
Orders
Rate LimitingSDKs & Code ExamplesTemplatesTicketsAPI VersioningWABA NumbersWebhooks
User GuideAPI ReferenceMessagesSend List Message

Send List Message

Send organized lists with multiple options

Reading time: 1 minute

Send List Message

Send organized lists with multiple options.

POST{{base_url}}/w/message/list

Query Parameters

ParameterTypeRequiredDescription
phone_number_idstringYesPhone number ID of the sender

Request Body (JSON)

ParameterTypeRequiredDescription
phonestringYesRecipient phone number
body_textstringYesMessage text
button_textstringYesList button text (max 20 characters)
sectionsarrayYesArray of sections (1-10 sections)
header_textstringNoHeader text
footer_textstringNoFooter text

Section Specifications

ParameterTypeRequiredDescription
titlestringYesSection title (max 24 characters)
rowsarrayYesArray of items (1-10 items)

Item Specifications

ParameterTypeRequiredDescription
idstringYesUnique item identifier (max 200 characters)
titlestringYesItem title (max 24 characters)
descriptionstringNoItem description (max 72 characters)

When to use lists?

Lists are ideal when you have:

  • More than 3 options (buttons are limited to 3)
  • Multiple categories of options
  • Need for detailed description of each option

Example Request

Example Requestbash
curl -X POST "{{base_url}}/w/message/list?phone_number_id=123456" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Awal-Signature-256: sha256=abc..." \
-H "X-Timestamp: 1704124800" \
-H "X-Domain: your-workspace" \
-H "X-Client-ID: your-client-id" \
-d '{
  "phone": "96650000000",
  "header_text": "šŸ›ļø Product Catalog",
  "body_text": "Choose from the list below to view more details:",
  "button_text": "View Catalog",
  "sections": [
    {
      "title": "šŸ“± Electronics",
      "rows": [
        {
          "id": "product_phone_1",
          "title": "iPhone 15 Pro",
          "description": "Latest model - 256GB"
        },
        {
          "id": "product_laptop_1",
          "title": "MacBook Pro M3",
          "description": "High performance - 16GB RAM"
        }
      ]
    },
    {
      "title": "šŸ‘• Clothing",
      "rows": [
        {
          "id": "product_shirt_1",
          "title": "Cotton Shirt",
          "description": "All sizes available"
        },
        {
          "id": "product_jeans_1",
          "title": "Jeans",
          "description": "Classic blue"
        }
      ]
    }
  ]
}'

Related

← Back to Messages
View Guide
View