Facebook · Schema

WhatsAppMessageResponse

Response from sending a WhatsApp message.

Fortune 500AdvertisingContent PublishingMessagingSocial MediaSocial Networking

Properties

Name Type Description
messaging_product string Messaging product.
contacts array
messages array
View JSON Schema on GitHub

JSON Schema

facebook-whatsappmessageresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WhatsAppMessageResponse",
  "title": "WhatsAppMessageResponse",
  "type": "object",
  "description": "Response from sending a WhatsApp message.",
  "properties": {
    "messaging_product": {
      "type": "string",
      "description": "Messaging product.",
      "example": "whatsapp"
    },
    "contacts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "input": {
            "type": "string",
            "description": "Input phone number."
          },
          "wa_id": {
            "type": "string",
            "description": "WhatsApp ID."
          }
        }
      }
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Message ID.",
            "example": "wamid.ABCdef123456"
          }
        }
      }
    }
  }
}