The order is ready
Create a message
Notify that the order can be picked up.
Your server uses the Token header and the request body. The recipient and text in this example are fictitious.
Example request
POST https://api.pulpo.chat/v1/messages
Token: TU_CLAVE_DE_API
Content-Type: application/json
{
"phone": "+14155550187",
"message": "Your order is ready for pickup at the store."
}Message created · 201
HTTP/1.1 201 Created
{"id":"ID_MENSAJE_DE_EJEMPLO"}The 201 confirms message creation. Check its progress before assuming it reached the recipient.
Check access to the number, the recipient's permission and sending rules. If you have several numbers, review the device field in the documentation.