Subscribe to change events (Pro+ · requires an API key)

Create a webhook. When a matching legal record change is observed, an HMAC-SHA256-signed POST is delivered to target_url. The signing_secret is returned ONCE in this response. Verify each delivery (see x-webhooks). TIER-GATING: Pro+ only (Free/Developer allowance = 0 → 403 tier_upgrade_required). Per-key subscription cap: Pro 3, Business 25, Enterprise unlimited.

post/webhooks

Request

  • Base URL: https://ai-law-tracker.com/api/v1
  • URL: https://ai-law-tracker.com/api/v1/webhooks
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

target_urlstring required

Public HTTPS endpoint.

eventsstring[]

Default: law.created, law.updated.

scope'state' | 'federal' | 'eu' | 'global'

Optional filter.

jurisdictionstring

Optional exact-slug filter.

Response

Created (includes signing_secret, shown once).

Changes

No recorded changes to this operation across all 1 revision of this API.