POST
Send List
Send an interactive list message with sections and rows. Requires the Interactive messages plan feature.
API endpoint
https://waclient.com/api/sendExample:
curl -X POST \
'https://waclient.com/api/send' \
-H 'Content-Type: application/json' \
--data '{
"number": "20100981XXXX",
"type": "list",
"message": {
"text": "Choose an option",
"footer": "List footer",
"title": "Menu",
"buttonText": "Open",
"sections": [
{
"title": "Section 1",
"rows": [
{
"title": "Item 1",
"rowId": "item_1",
"description": "First option"
},
{
"title": "Item 2",
"rowId": "item_2",
"description": "Second option"
}
]
}
]
},
"instance_id": "META68B6ED90CXXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"message_payload": {
"messaging_product": "whatsapp",
"messages": [
{
"id": "wamid.xxx",
"message_status": "accepted"
}
]
}
}| Parameter | Description |
|---|---|
| number | Recipient phone number with country code |
| type | Must be list |
| message | JSON with text, title, buttonText, sections (each with rows) |
| instance_id | Meta Cloud instance ID |
| access_token | Your access token |
Only delivers if the customer messaged you within the last 24 hours. Outside that window, use Meta Templates.