The error is in Image
Thanks in advance!
Peter
Are you sure the api URL is correct?!
Thanks for confirming.
Are you now sending the correct body?
According to their documentation, the body should look like this:
{
"messageData": {
"to": "551199999999@s.whatsapp.net",
"text": "Mensagem",
"key": {},
"message": {}
}
}
I tested it on my end, and itâs working
tested it on my end, and itâs working as expected.
Note: I used the token shown in the screenshot for testing purposesâŠ
Please make sure to replace it with a another token before using this in productionâŠ
Hey Mohamed, I think the issue was that the fields âkeyâ and âmessageâ were missing. Now I got your body and replaced it with my parameters, keeping the struture and it worked!
Thank u very much!
Youâre welcome!
Please donât forget to delete the current token and generate a new one for your production app.