Whatsapp API
  • Getting Started
    • Dashboard API Overview
    • Register WhatsApp Business API Number
    • Get Channel ID & Link Your App
    • Get Access Token
    • Create WhatsApp Template
  • Whatsapp API
    • WhatsApp API's Overview
    • Media
      • Upload Media
      • Download Media
    • Send Messages
      • Text Mesage
      • Reaction Message
      • Media Message
      • Contact Message
      • Interactive Message
      • Template Message
      • Reply Message
    • Mark Message as Read
    • Set-up Webhook
      • Received Messages
      • Message Status
    • Error Codes
Powered by GitBook
On this page
  1. Whatsapp API
  2. Send Messages

Reply Message

PreviousTemplate MessageNextMark Message as Read

Last updated 2 years ago

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 as well to see the possible of Reply object

document