{"error":"Customer last message date is more than 24 hours"}
The message was not sent because the 24-hour window with this phone number has closed, send a template instead.
{"error":"Use a template to send a message to this number"}
The message was not sent because you have not contacted this number yet, and Meta doesn't allow you to send text messages to new customers, send a template instead.
{"error":"Source phone is required for multinumber accounts"}
The message was not sent because you have not provided a source_phone in the request but your account has multiple phone numbers activated.
{"error":"Unauthorized"}
The API key is missing or incorrect.
Send a template message
POST/meta/send-message
Send a template message to a user through your Polser account
Headers
Name
Value
Content-Type
application/json
Authorization
your-api-key
Body
This method only accepts variables that exist in the BODY of the Meta template. source_phoneis an optional parameter for those customers who have multiple phone numbers in their Polser account.
Response
The message was sent successfully.
Check that the template name is correct and that it's approved in Meta. Also check that the number of variables that the template requires matches the number of variables you provided.
The API key is missing or incorrect.
Send a sticker message
POST/meta/send-message
Send a sticker message to a user through your Polser account
Headers
Name
Value
Content-Type
application/json
Authorization
your-api-key
Body
stickeris the number of the sticker in your Polser account. You can find this number by hovering over the sticker you want to send:
source_phoneis an optional parameter for those customers who have multiple phone numbers in their Polser account.