Create Webhook
Subscribe to extraction events with a webhook URL
Create a new webhook subscription. The response includes aDocumentation Index
Fetch the complete documentation index at: https://docs.anyformat.ai/llms.txt
Use this file to discover all available pages before exploring further.
secret for verifying webhook signatures. This secret is only returned on creation and cannot be retrieved later.
Request Body
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
url | string | Yes | — | HTTPS URL to receive webhook events. HTTP URLs are rejected. |
events | string[] | No | All events | Array of event types to subscribe to: extraction.completed, extraction.failed |
Authorizations
API key issued from app.anyformat.ai/settings. Send as Authorization: Bearer <key>.
Body
Request to create a new webhook subscription.
The HTTPS URL to receive webhook events. Must be publicly accessible.
1 - 2083"https://example.com/webhooks/anyformat"
List of event types to subscribe to. Available events: extraction.completed, extraction.failed.
["extraction.completed", "extraction.failed"]Response
Successful Response
Webhook subscription details including the signing secret. The secret is only returned at creation time.
Unique identifier of the webhook.
The URL receiving webhook events.
1 - 2083"https://example.com/webhooks/anyformat"
Event types this webhook is subscribed to.
["extraction.completed", "extraction.failed"]Whether the webhook is currently active and receiving events.
true
Webhook signing secret. Use this to verify that incoming webhook requests are authentic. Store securely — this value is only shown once at creation time.
Timestamp when the webhook was created (ISO 8601).
