Peeve · Schema

WebhookEndpointWithSecret

AI Customer SupportSoftware-as-a-ServiceIn‑app HelpBackend IntegrationAnalytics

Properties

Name Type Description
object string The resource type, e.g. `lead`.
data object
request_id string Echoed in the `X-Request-Id` header. Quote it to support.
View JSON Schema on GitHub

JSON Schema

peeve-ai-webhook-endpoint-with-secret-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peeve-ai/json-schema/peeve-ai-webhook-endpoint-with-secret-schema.json",
  "title": "WebhookEndpointWithSecret",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peeve-ai-openapi.yml#/components/schemas/WebhookEndpointWithSecret",
  "allOf": [
    {
      "$ref": "#/$defs/ObjectEnvelope"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "allOf": [
            {
              "$ref": "#/$defs/WebhookEndpoint"
            },
            {
              "type": "object",
              "properties": {
                "secret": {
                  "type": "string",
                  "description": "The signing secret (`whsec_…`). **Returned only here and on rotate-secret. It cannot be recovered later.**"
                }
              }
            }
          ]
        }
      }
    }
  ],
  "$defs": {
    "ObjectEnvelope": {
      "type": "object",
      "required": [
        "object",
        "data",
        "request_id"
      ],
      "properties": {
        "object": {
          "type": "string",
          "description": "The resource type, e.g. `lead`."
        },
        "data": {
          "type": "object",
          "additionalProperties": true
        },
        "request_id": {
          "type": "string",
          "description": "Echoed in the `X-Request-Id` header. Quote it to support."
        }
      }
    },
    "WebhookEndpoint": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "object": {
          "type": "string",
          "const": "webhook_endpoint"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "label": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 80
        },
        "events": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "session.started",
              "session.resolved",
              "handoff.created",
              "handoff.message.created",
              "handoff.status.changed",
              "lead.created",
              "lead.status.changed",
              "meeting.booked",
              "meeting.status.changed",
              "billing.payment_failed",
              "billing.subscription.changed",
              "billing.credits_low",
              "billing.credits_expiring",
              "*"
            ]
          }
        },
        "channels": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string",
            "enum": [
              "human",
              "agent",
              "whatsapp",
              "messenger",
              "instagram",
              "email"
            ]
          },
          "description": "`null` means every channel."
        },
        "enabled": {
          "type": "boolean",
          "description": "`false` is paused — reversible, keeps the secret and delivery history."
        },
        "secret_hint": {
          "type": [
            "string",
            "null"
          ],
          "description": "Last 4 characters of the signing secret, so a rotation can be confirmed without exposing it."
        },
        "secret_set_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "last_delivery_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "last_status": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_response_code": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/peeve-ai-webhook-endpoint-with-secret"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.