Skip to content
WhatSync/DocsAPI v1

List webhooks

List this account's webhook endpoints: where WhatSync sends events, which events, and whether each is active, paused or disabled after failures.

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

How it works

  • A failing webhook has last_failure.problem: say it to the user in plain words, it names the fix.
  • To add one, use request_webhook.
  • Max and Business plans; at most 10 per account.

Body parameters

No input fields. Send an empty JSON object: {}.

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": {},
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Response JSON Schema
Response JSON Schema
{
  "type": "object",
  "properties": {
    "webhooks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "event_types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "header_names": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "type": "string"
          },
          "disabled_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "consecutive_failures": {
            "type": "number"
          },
          "last_success_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_failure_at": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [],
        "additionalProperties": true
      }
    }
  },
  "required": [],
  "additionalProperties": true
}