cURL
curl --request POST \ --url https://api.wapizap.com/api/v2/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "instanceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "to": "5511999999999", "text": "Olá! Esta é uma mensagem de teste.", "linkPreview": false } '
{ "id": "<string>", "instanceId": "<string>", "remoteJid": "<string>", "fromMe": true, "type": "text", "content": {}, "timestamp": 123, "status": "pending" }
Envia uma mensagem de texto simples
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Número ou ID do destinatário
"5511999999999"
"Olá! Esta é uma mensagem de teste."
Gerar preview de links
Mensagem enviada
text
image
video
audio
document
sticker
location
contact
poll
reaction
buttons
list
pending
sent
delivered
read
failed