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": "[email protected]",
"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.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.