Skip to main content
GET
/
api
/
webhooks
List Webhooks
curl --request GET \
  --url https://encrata.com/api/webhooks \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "workspace_id": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "is_active": true,
  "description": "<string>",
  "created_by": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.encrata.com/llms.txt

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

Authentication

Requires an API key in the Authorization header.
Authorization: Bearer YOUR_API_KEY

Request

No parameters required. Returns all webhooks for the authenticated user’s current workspace.

Example request

curl https://encrata.com/api/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

Returns an array of webhook objects.
id
string
Unique webhook identifier (UUID).
workspace_id
string
The workspace this webhook belongs to.
url
string
The HTTPS URL that receives webhook deliveries.
events
string[]
List of event types this webhook is subscribed to.
is_active
boolean
Whether the webhook is currently active.
description
string
Optional description of the webhook.
created_by
string
User ID of the webhook creator.
created_at
string
ISO 8601 creation timestamp.
updated_at
string
ISO 8601 last-updated timestamp.

Example response

[
  {
    "id": "360cb300-d885-4c18-af2c-d259f936bb38",
    "workspace_id": "51cdc9d9-203c-4345-b06d-222b560460aa",
    "url": "https://example.com/webhook",
    "events": ["lookup.completed", "apikey.created"],
    "is_active": true,
    "description": "Production webhook",
    "created_by": "e861d7cb-1d7f-48d9-ab13-9af06a4055cf",
    "created_at": "2026-05-02T12:00:00Z",
    "updated_at": "2026-05-02T12:00:00Z"
  }
]