curl --request POST \
--url https://converso-whatsapp-api.p.rapidapi.com/message/sendText/{instance} \
--header 'Content-Type: application/json' \
--header 'instanceCode: <api-key>' \
--header 'x-rapidapi-key: <api-key>' \
--data '
{
"number": "<string>",
"text": "<string>",
"delay": 123,
"linkPreview": true,
"mentionsEveryOne": true,
"mentioned": [
"{{remoteJID}}"
],
"quoted": {
"key": {
"id": "<string>"
},
"message": {
"conversation": "<string>"
}
}
}
'{
"key": {
"remoteJid": "553198296801@s.whatsapp.net",
"fromMe": true,
"id": "BAE594145F4C59B4"
},
"message": {
"extendedTextMessage": {
"text": "Olá!"
}
},
"messageTimestamp": "1717689097",
"status": "PENDING"
}Send plain text message
curl --request POST \
--url https://converso-whatsapp-api.p.rapidapi.com/message/sendText/{instance} \
--header 'Content-Type: application/json' \
--header 'instanceCode: <api-key>' \
--header 'x-rapidapi-key: <api-key>' \
--data '
{
"number": "<string>",
"text": "<string>",
"delay": 123,
"linkPreview": true,
"mentionsEveryOne": true,
"mentioned": [
"{{remoteJID}}"
],
"quoted": {
"key": {
"id": "<string>"
},
"message": {
"conversation": "<string>"
}
}
}
'{
"key": {
"remoteJid": "553198296801@s.whatsapp.net",
"fromMe": true,
"id": "BAE594145F4C59B4"
},
"message": {
"extendedTextMessage": {
"text": "Olá!"
}
},
"messageTimestamp": "1717689097",
"status": "PENDING"
}Your authorization key header
Your rapid api key
Name of the instance
Number to receive the message (with country code)
Test message to send
Presence time in milliseconds before sending message
Shows a preview of the target website if there's a link within the message
Mentioned everyone when the message send
Numbers to mention
{{remoteJID}} Show child attributes