cURL
curl --request POST \ --url http://localhost:3000/leads/{leadId}/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "content": "Olá, tudo bem?", "templateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
Enfileira mensagem WhatsApp para envio assíncrono.
QUEUED
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"Olá, tudo bem?"
UUID do template. Se informado, o body do template será usado.
Mensagem enfileirada com sucesso