WhatsApp · Schema

MessageHistoryResponse

Paginated response containing message history entries

MessagingAnalyticsWhatsAppBusiness MessagingMeta

Properties

Name Type Description
data array Array of message history entries
paging object
View JSON Schema on GitHub

JSON Schema

whatsapp-message-history-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-message-history-response-schema.json",
  "title": "MessageHistoryResponse",
  "description": "Paginated response containing message history entries",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-message-history-api-openapi.yml#/components/schemas/MessageHistoryResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Array of message history entries",
      "items": {
        "$ref": "#/$defs/WhatsAppMessageHistory"
      }
    },
    "paging": {
      "$ref": "#/$defs/PaginationInfo"
    }
  },
  "$defs": {
    "MessageDeliveryStatusEvent": {
      "type": "object",
      "description": "Message delivery status event occurrence",
      "required": [
        "id",
        "delivery_status",
        "timestamp"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the delivery status event"
        },
        "delivery_status": {
          "$ref": "#/$defs/WhatsAppMessageDeliveryStatus"
        },
        "webhook_update_state": {
          "$ref": "#/$defs/WebhookUpdateState"
        },
        "timestamp": {
          "type": "integer",
          "format": "int64",
          "description": "Unix timestamp when the delivery status event occurred"
        },
        "application": {
          "type": "object",
          "description": "Application information for the event",
          "properties": {
            "id": {
              "type": "string",
              "description": "Application ID that processed the event"
            }
          }
        },
        "webhook_uri": {
          "type": "string",
          "format": "uri",
          "description": "Webhook URI where the event was delivered"
        },
        "error_description": {
          "type": "string",
          "description": "Error description if the delivery failed"
        }
      }
    },
    "PaginationInfo": {
      "type": "object",
      "description": "Pagination information for navigating through results",
      "properties": {
        "cursors": {
          "type": "object",
          "description": "Pagination cursors for navigation",
          "properties": {
            "before": {
              "type": "string",
              "description": "Cursor for the previous page of results"
            },
            "after": {
              "type": "string",
              "description": "Cursor for the next page of results"
            }
          }
        },
        "previous": {
          "type": "string",
          "format": "uri",
          "description": "URL for the previous page of results"
        },
        "next": {
          "type": "string",
          "format": "uri",
          "description": "URL for the next page of results"
        }
      }
    },
    "WebhookUpdateState": {
      "type": "string",
      "description": "State of webhook update delivery",
      "enum": [
        "PENDING",
        "DELIVERED",
        "FAILED",
        "RETRYING"
      ]
    },
    "WhatsAppMessageDeliveryStatus": {
      "type": "string",
      "description": "Message delivery status",
      "enum": [
        "SENT",
        "DELIVERED",
        "READ",
        "FAILED",
        "DELETED"
      ]
    },
    "WhatsAppMessageHistory": {
      "type": "object",
      "description": "WhatsApp message history entry with delivery status information",
      "required": [
        "id",
        "message_id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the message history entry"
        },
        "message_id": {
          "type": "string",
          "description": "WhatsApp message ID (WAMID) for the message"
        },
        "events": {
          "type": "object",
          "description": "Message delivery status events and occurrences",
          "properties": {
            "data": {
              "type": "array",
              "description": "Array of delivery status events",
              "items": {
                "$ref": "#/$defs/MessageDeliveryStatusEvent"
              }
            },
            "paging": {
              "$ref": "#/$defs/PaginationInfo"
            }
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/whatsapp-message-history-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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