Castle · AsyncAPI Specification

Castle Webhooks

Version

View Spec View on GitHub CompanySecurityFraud PreventionBot DetectionDevice FingerprintingAccount TakeoverRisk ScoringIdentityAsyncAPIWebhooksEvents

AsyncAPI Specification

castle-webhooks.yml Raw ↑
generated: '2026-07-18'
method: searched
source: https://docs.castle.io/docs/webhooks
spec_type: Webhooks
description: >-
  Castle delivers outbound webhooks for List and Policy events. No AsyncAPI
  document is published; this is the captured webhook catalog.
transport: HTTPS POST (JSON)
signature:
  header: X-Castle-Signature
  algorithm: HMAC-SHA256
  keyed_with: API Secret
  computed_over: raw JSON request body
payload_fields:
- api_version
- app_id
- created_at
- type
- data
events:
- name: "$list_item.created"
  description: A new item was added to a List.
- name: "$list_item.archived"
  description: An item in a List was archived and is no longer present.
- name: "$list_item.unarchived"
  description: A previously archived item was un-archived and is now present.
- name: "$policy.matched"
  description: The conditions of a policy matched.
configuration: >-
  Subscriptions are created in the Castle Dashboard on a Policy or List page via
  the Integrations tab (Add Integration).

Work with this as data

Every AsyncAPI spec 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 asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec 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 AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/castle-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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