Skip to content
WhatSync/DocsAPI v1

Read Meta WhatsApp Business messaging analytics

Read up to 90 days of sent and delivered counts from the connected Meta Business account.

POST/api/v1/tools/get_business_messaging_analyticsRead
Key permissions
Read chats and messages
Authentication
Authorization: Bearer $WHATSYNC_API_KEY
How keys work

How it works

These counts are not pricing or per-recipient delivery confirmation.

Body parameters

daysintegeroptional

See the example and input schema for this value.

Response

HTTP 200 returns this tool's JSON directly, without an MCP content wrapper. Optional provider fields may be absent or null; check pagination and coverage before treating a page as complete.

Every response includes X-Request-Id. Errors use the shared error format and retry rules.

Schemas

Input JSON Schema
Input JSON Schema
{
  "type": "object",
  "properties": {
    "days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 90
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Response JSON Schema
Response JSON Schema
{
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "sent": {
      "type": [
        "number",
        "null"
      ]
    },
    "delivered": {
      "type": [
        "number",
        "null"
      ]
    },
    "daily": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true,
        "description": "Provider or tool-specific fields; preserve unknown fields."
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [],
  "additionalProperties": true
}