Send list message
Endpoint: {{baseUrl}}/message/list
Method: POST
Category: Send message
📝 Description
This endpoint is used to send list message. You must include a valid access_token
in the headers.
🔐 Headers
Authorization
:Bearer {{access_token}}
Content-Type
:application/json
📥 Request Parameters
phone
: required, typestr
title
: required, typestr
description
: required, typestr
buttonText
: required, typestr
footerText
: required, typestr
sections
: required, typelist
instance_id
: required, typestr
📦 Example Request Body
{
"phone": "{{phoneNumber}}",
"title": "List Title",
"description": "List description",
"buttonText": "Click Here",
"footerText": "footer list\nhttps://examplelink.com.br",
"sections": [
{
"title": "Row tilte 01",
"rows": [
{
"title": "Title row 01",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",
"rowId": "rowId 001"
},
{
"title": "Title row 02",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",
"rowId": "rowId 002"
}
]
},
{
"title": "Row tilte 02",
"rows": [
{
"title": "Title row 01",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",
"rowId": "rowId 001"
},
{
"title": "Title row 02",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",
"rowId": "rowId 002"
}
]
}
],
"instance_id": "{{instanceId}}"
}