Skip to main content
GET
/
v2
/
webhooks
curl -X GET 'https://api.anyformat.ai/v2/webhooks/' \
  -H 'Authorization: Bearer YOUR_API_KEY'
[
  {
    "id": "wh_1234567890",
    "url": "https://your-server.com/webhooks/anyformat",
    "events": ["extraction.completed", "extraction.failed"],
    "is_active": true,
    "created_at": "2024-03-24T12:00:00.000Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.anyformat.ai/llms.txt

Use this file to discover all available pages before exploring further.

The secret field is excluded from list responses — it’s only returned once, on create.
This endpoint returns a flat array, not a paginated response.
curl -X GET 'https://api.anyformat.ai/v2/webhooks/' \
  -H 'Authorization: Bearer YOUR_API_KEY'
[
  {
    "id": "wh_1234567890",
    "url": "https://your-server.com/webhooks/anyformat",
    "events": ["extraction.completed", "extraction.failed"],
    "is_active": true,
    "created_at": "2024-03-24T12:00:00.000Z"
  }
]

Authorizations

Authorization
string
header
required

API key issued from app.anyformat.ai/settings. Send as Authorization: Bearer <key>.

Response

Successful Response

id
string
required

Unique identifier of the webhook.

url
string<uri>
required

The URL receiving webhook events.

Required string length: 1 - 2083
Example:

"https://example.com/webhooks/anyformat"

events
string[]
required

Event types this webhook is subscribed to.

Example:
["extraction.completed", "extraction.failed"]
is_active
boolean
required

Whether the webhook is currently active.

Example:

true

created_at
string<date-time>
required

Timestamp when the webhook was created (ISO 8601).