Skip to main content

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, type str
  • title: required, type str
  • description: required, type str
  • buttonText: required, type str
  • footerText: required, type str
  • sections: required, type list
  • instance_id: required, type str

📦 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}}"
}