POST
Send List
Send an interactive list message with sections and rows. Requires the Interactive messages plan feature.
Only delivers if the customer messaged you within the last 24 hours. Outside that window, use Meta Templates.
API endpoint
https://api.waclient.com/sendExample:
curl -X POST \
'https://api.waclient.com/send' \
-H 'Content-Type: application/json' \
--data '{
"number": "201234567890",
"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 | Phone with country code (e.g. 201234567890) |
| 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 |