WhatsApp · JSON Structure

Whatsapp Cloud Api Send Message Response Structure

SendMessageResponse from WhatsApp API

Type: object Properties: 3

SendMessageResponse is a JSON Structure definition published by WhatsApp, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

messaging_product contacts messages

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/whatsapp/refs/heads/main/json-structure/whatsapp-cloud-api-send-message-response-structure.json",
  "name": "SendMessageResponse",
  "description": "SendMessageResponse from WhatsApp API",
  "type": "object",
  "properties": {
    "messaging_product": {
      "type": "string",
      "example": "example_value"
    },
    "contacts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "input": {
            "type": "string"
          },
          "wa_id": {
            "type": "string"
          }
        }
      }
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "WhatsApp message ID"
          }
        }
      }
    }
  }
}