Send Message
Send List
Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- POSTUpdate Group Picture
- POSTUpdate Group Subject
- POSTUpdate Group Description
- GETFetch Invite Code
- POSTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- POSTUpdate Group Members
- POSTUpdate Group Setting
- POSTToggle Ephemeral
- DELLeave Group
Typebot
OpenAI
Evolution Bot
Dify
Flowise
Chatwoot
Websocket
RabbitMQ
Send Message
Send List
POST
/
message
/
sendList
/
{instance}
curl --request POST \
--url https://{server-url}/message/sendList/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"title": "<string>",
"description": "<string>",
"buttonText": "<string>",
"footerText": "<string>",
"sections": [
{
"title": "<string>",
"rows": [
{
"title": "<string>",
"description": "<string>",
"rowId": "<string>"
}
]
}
],
"delay": 123,
"quoted": {
"key": {
"remoteJid": "<string>",
"fromMe": true,
"id": "<string>",
"participant": "<string>"
},
"message": {
"conversation": "<string>"
}
},
"mentionsEveryOne": true,
"mentioned": [
"<string>"
]
}'
{
"key": {
"remoteJid": "553198296801@s.whatsapp.net",
"fromMe": true,
"id": "BAE5096096C5E261"
},
"message": {
"listMessage": {
"title": "List Title",
"description": "List description",
"buttonText": "Click Me",
"listType": "PRODUCT_LIST",
"sections": [
{
"title": "Section title",
"rows": [
{
"title": "Row 1",
"description": "Row 1 description",
"rowId": "1"
},
{
"title": "Row 2",
"description": "Row 2 description",
"rowId": "2"
}
]
},
{
"title": "Section 2",
"rows": [
{
"title": "Row 1",
"description": "Row 1 description",
"rowId": "1"
},
{
"title": "Row 2",
"description": "Row 2 description",
"rowId": "2"
}
]
}
],
"contextInfo": {}
}
},
"messageTimestamp": "1717782429",
"status": "PENDING"
}
Authorizations
Your authorization key header
Path Parameters
ID of the instance to connect
Body
application/json
Number to receive the message (with country code)
List title
Button text
List description
Footer text
Presence time in milliseconds before sending message
Mention everyone on a group message
Response
201 - application/json
Created
The message content, which may include various types of messages like text, images, list, etc.
Details of the list message.
The title of the list message.
The description of the list message.
The text of the button in the list message.
The type of the list.
The sections in the list message.
The title of the section.
Additional context information.
The timestamp of the message, represented as a string.
The status of the message, such as sent, received, or pending.
curl --request POST \
--url https://{server-url}/message/sendList/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"title": "<string>",
"description": "<string>",
"buttonText": "<string>",
"footerText": "<string>",
"sections": [
{
"title": "<string>",
"rows": [
{
"title": "<string>",
"description": "<string>",
"rowId": "<string>"
}
]
}
],
"delay": 123,
"quoted": {
"key": {
"remoteJid": "<string>",
"fromMe": true,
"id": "<string>",
"participant": "<string>"
},
"message": {
"conversation": "<string>"
}
},
"mentionsEveryOne": true,
"mentioned": [
"<string>"
]
}'
{
"key": {
"remoteJid": "553198296801@s.whatsapp.net",
"fromMe": true,
"id": "BAE5096096C5E261"
},
"message": {
"listMessage": {
"title": "List Title",
"description": "List description",
"buttonText": "Click Me",
"listType": "PRODUCT_LIST",
"sections": [
{
"title": "Section title",
"rows": [
{
"title": "Row 1",
"description": "Row 1 description",
"rowId": "1"
},
{
"title": "Row 2",
"description": "Row 2 description",
"rowId": "2"
}
]
},
{
"title": "Section 2",
"rows": [
{
"title": "Row 1",
"description": "Row 1 description",
"rowId": "1"
},
{
"title": "Row 2",
"description": "Row 2 description",
"rowId": "2"
}
]
}
],
"contextInfo": {}
}
},
"messageTimestamp": "1717782429",
"status": "PENDING"
}