Send Message
Send Template
Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- PUTUpdate Group Picture
- PUTUpdate Group Subject
- PUTUpdate Group Description
- GETFetch Invite Code
- GETAccept Invite Code
- PUTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- PUTUpdate Group Members
- PUTUpdate Group Setting
- PUTToggle Ephemeral
- DELLeave Group
Chatwoot
RabbitMQ
WebSocket
Send Message
Send Template
Send a template message with the Official WhatsApp API
POST
/
message
/
sendTemplate
/
{instance}
curl --request POST \
--url https://{server-url}/message/sendTemplate/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"templateMessage": {
"name": "<string>",
"language": "pt_BR",
"components": [
{
"type": "header",
"sub_type": "quick_reply",
"index": "<string>",
"parameters": [
{
"type": "payload",
"text": "<string>"
}
]
}
]
}
}'
Authorizations
Your authorization key header
Path Parameters
ID of the instance to connect
Body
application/json
curl --request POST \
--url https://{server-url}/message/sendTemplate/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>",
"templateMessage": {
"name": "<string>",
"language": "pt_BR",
"components": [
{
"type": "header",
"sub_type": "quick_reply",
"index": "<string>",
"parameters": [
{
"type": "payload",
"text": "<string>"
}
]
}
]
}
}'