Skip to content
WhatSync/DocsAPI v1

Inspect a WhatsApp Business template

Read one Meta template by exact name and language before proposing a send.

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

How it works

Returns status and message components.

Body parameters

namestringrequired

See the example and input schema for this value.

languagestringrequired

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": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "language": {
      "type": "string",
      "minLength": 2,
      "maxLength": 12
    }
  },
  "required": [
    "name",
    "language"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Response JSON Schema
Response JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "quality_score": {
      "type": "object",
      "additionalProperties": true,
      "description": "Provider or tool-specific fields; preserve unknown fields."
    },
    "rejected_reason": {
      "type": "string"
    },
    "components": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true,
        "description": "Provider or tool-specific fields; preserve unknown fields."
      }
    }
  },
  "required": [],
  "additionalProperties": true
}