Interactive Messages
Send List
Sends a message with a list of options (menu). Supported on WhatsApp, Z-API, and ZapperAPI.
POST
/
messages
/
interactive
/
send-lists
Sends a message with a list of options (interactive menu). This is supported on WhatsApp, Z-API, and ZapperHUB channels.
Authentication: Requires a valid API key or session. Pass as Authorization: Bearer <api_key>.
Request Body
The API uses a dynamic schema to reconstruct sections and rows from the flat request body.
Required Parameters
agentId: The ID of the agent.conversationId: The ID of the conversation.body_text: Main message body (max 4096 chars).button_text: Text for the button that opens the list (max 20 chars).section_1_title: Title for section 1.section_1_row_1_id: ID for row 1 in section 1.section_1_row_1_title: Title for row 1 in section 1.
Optional Parameters
header_text: Header text (max 60 chars).footer_text: Footer text (max 60 chars).list_title: Title for the list (mainly used for Z-API).section_2_title,section_3_title, etc.: Additional sections (max 10).section_N_row_M_id,section_N_row_M_title,section_N_row_M_description: Additional rows (max 10 rows total across all sections).
Limits (Meta)
- Maximum 10 sections.
- Maximum 10 rows total across all sections.
- Button text: max 20 characters.
- Header text: max 60 characters.
- Footer text: max 60 characters.
- Body text: max 4096 characters.
Example
Error Responses
| HTTP Status | Meaning |
|---|---|
| 400 | Invalid request body |
| 401 | Invalid or missing API key |
| 403 | Agent does not belong to your organization |
| 404 | Conversation or agent not found |
| 500 | WhatsApp API error (invalid payload, exceeding limits) |
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
agentId
string
requiredThe ID of the agent.
conversationId
string
requiredThe ID of the conversation.
header_text
string
Optional header text.
body_text
string
requiredMain message body.
footer_text
string
Optional footer text.
button_text
string
requiredText for the button that opens the list.
list_title
string
Title for the list (mainly for Z-API).
Was this page helpful?

