Skip to content
WhatSync/DocsAPI v1

List WhatsApp forms

List the WhatsApp forms (Meta Flows) on the connected Business account with their status: DRAFT can be edited and test-sent, PUBLISHED can be sent to customers, DEPRECATED or BLOCKED cannot be sent.

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

Body parameters

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": {
    "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": {
    "forms": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "form_id": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "has_validation_errors": {
            "type": "boolean"
          }
        },
        "required": [],
        "additionalProperties": true
      }
    },
    "next_after": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [],
  "additionalProperties": true
}