Skip to main content
Use GET /v1/webhooks to retrieve every active webhook subscription associated with your Knock2 tenant. This is useful for auditing which endpoints are receiving event payloads, confirming that a newly created subscription is registered, or building subscription management interfaces for your users.

Endpoint

All active subscriptions for the authenticated tenant are returned in a single response.

Required Scope

Your API key must have the webhooks:read scope (or the broader all:read scope) to call this endpoint.

Parameters

string
Read a direct child tenant’s webhook subscriptions instead of your own (multi-tenant partners only). The X-Knock-Tenant header takes precedence if both are supplied. See Reading a Child Tenant’s Data.
string
Same as product_slug above, as a header instead of a query param. Naming a slug that isn’t a direct child of your key returns 404, never 403.

Example Request

Response

A successful request returns 200 OK with a WebhookListResponse body containing an array of subscription objects.
array
An array of webhook subscription objects. Returns an empty array if no subscriptions exist.
string
The unique identifier for the webhook subscription.
string
The HTTPS URL registered to receive event payloads for this subscription.
array of strings
The event types this subscription is currently listening for.
string
The human-readable label assigned to this subscription.
string
A truncated preview of the signing secret for this subscription.

Error Responses