WhatsApp · JSON Structure

Whatsapp Cloud Api Send Message Request Structure

SendMessageRequest from WhatsApp API

Type: object Properties: 19 Required: 3

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

Properties

messaging_product recipient_type to type context biz_opaque_callback_data status message_id text image video audio document sticker location contacts interactive template reaction

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-request-structure.json",
  "name": "SendMessageRequest",
  "description": "SendMessageRequest from WhatsApp API",
  "type": "object",
  "properties": {
    "messaging_product": {
      "type": "string",
      "enum": [
        "whatsapp"
      ],
      "example": "whatsapp"
    },
    "recipient_type": {
      "type": "string",
      "default": "individual",
      "example": "text"
    },
    "to": {
      "type": "string",
      "description": "Recipient phone number in E.164 format without the leading +",
      "example": "example_value"
    },
    "type": {
      "type": "string",
      "enum": [
        "text",
        "image",
        "video",
        "audio",
        "document",
        "sticker",
        "location",
        "contacts",
        "interactive",
        "template",
        "reaction"
      ],
      "example": "text"
    },
    "context": {
      "type": "object",
      "description": "Context for reply messages",
      "properties": {
        "message_id": {
          "type": "string",
          "description": "ID of the message being replied to"
        }
      }
    },
    "biz_opaque_callback_data": {
      "type": "string",
      "description": "Arbitrary string for tracking, returned in webhooks",
      "example": "example_value"
    },
    "status": {
      "type": "string",
      "enum": [
        "read"
      ],
      "description": "Set to read to mark an incoming message as read",
      "example": "read"
    },
    "message_id": {
      "type": "string",
      "description": "ID of the message to mark as read (required when status is read)",
      "example": "wamid.abc123"
    },
    "text": {
      "$ref": "#/components/schemas/TextMessage"
    },
    "image": {
      "$ref": "#/components/schemas/MediaObject"
    },
    "video": {
      "$ref": "#/components/schemas/MediaObject"
    },
    "audio": {
      "$ref": "#/components/schemas/AudioObject"
    },
    "document": {
      "$ref": "#/components/schemas/DocumentObject"
    },
    "sticker": {
      "$ref": "#/components/schemas/StickerObject"
    },
    "location": {
      "$ref": "#/components/schemas/LocationMessage"
    },
    "contacts": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ContactObject"
      }
    },
    "interactive": {
      "$ref": "#/components/schemas/InteractiveMessage"
    },
    "template": {
      "$ref": "#/components/schemas/TemplateMessage"
    },
    "reaction": {
      "$ref": "#/components/schemas/ReactionMessage"
    }
  },
  "required": [
    "messaging_product",
    "to",
    "type"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/whatsapp-cloud-api-send-message-request-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.