Webhooks

Get a webhook

The endpoint, the events it is subscribed to and whether deliveries are attempted. The signing secret is not returned: it is shown once by POST /v1/projects/{project_id}/webhooks and again by POST /v1/projects/{project_id}/webhooks/{webhook_id}:rotate-secret.

get/v1/projects/{project_id}/webhooks/{webhook_id}

Request

  • Base URL: https://api.naturali.ai
  • URL: https://api.naturali.ai/v1/projects/{project_id}/webhooks/{webhook_id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)

Response

The webhook.

idstring required

Public webhook ID (whk_ prefix).

project_idstring required
urlstring uri required

Where deliveries are POSTed.

eventsstring[] required

Which events this endpoint receives. Each entry is an exact type (generation.completed), a resource wildcard (generation.*), or * for everything. A bare resource name (generation) matches nothing and is rejected.

descriptionstring nullable required

Operator-facing label.

activeboolean required

Whether deliveries are attempted.

created_atstring date-time required
updated_atstring date-time required

Example response

{
  "id": "whk_V1StGXR8Z5jdHi6B",
  "project_id": "proj_V1StGXR8Z5jdHi6B",
  "url": "https://example.com/hooks/naturali",
  "events": [
    "generation.*",
    "message.received"
  ],
  "description": "billing service",
  "active": true,
  "created_at": "2026-07-31T00:00:00.000Z",
  "updated_at": "2026-07-31T00:00:00.000Z"
}

Changes

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