Reply Message

Whatsapp API has the ability to reply to specific customer's messages, To send a reply message, make POST it to /{{Channel-ID}}/messages and attach a context field to payload request

Reply Message Payload Sample

{
  "messaging_product": "whatsapp",
  "context": {
     "message_id": "{{Message-ID}}"
  },
  "to": "{{Receipient-Phone-Number}}",
  "type": "text",
  "text": {
    "preview_url": false,
    "body": "your-text-message-content"
  }
}

A successful response includes an object with an identifier prefixed with wamid. Use thewamid to track your message status.

please refer to this document as well to see the possible of Reply object

Last updated