Skip to content
WhatSync/DocsAPI v1

List WhatsApp Business templates

List a bounded page of templates from the connected Meta WhatsApp Business account, including approval status and components.

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

Body parameters

statusAPPROVED | PENDING | REJECTEDoptional

See the example and input schema for this value.

afterstringoptional

Lower date boundary or pagination value. Keep the same filters between pages.

limitintegeroptional

Maximum results per page. See the schema for bounds and defaults.

Conditions and pagination

  • Pass the returned next_cursor (next_after for forms) as after. Stop when that value is null.

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": {
    "status": {
      "type": "string",
      "enum": [
        "APPROVED",
        "PENDING",
        "REJECTED"
      ]
    },
    "after": {
      "type": "string",
      "maxLength": 500
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Response JSON Schema
Response JSON Schema
{
  "type": "object",
  "properties": {
    "templates": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true,
        "description": "Provider or tool-specific fields; preserve unknown fields."
      }
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [],
  "additionalProperties": true
}