Skip to content

WebhookDestination

A webhook destination. The delivery infrastructure owns storage and the full response shape, so the fields this SDK itself sets or reads are typed and the index signature keeps everything else reachable — rather than inventing a closed contract the SDK does not control.

[key: string]: unknown
optional config?: object & Record<string, unknown>;
optional url?: string;

optional created_at?: string;

optional credentials?: Record<string, unknown>;

The HMAC-SHA256 signing secret. Returned by create; verify deliveries with it.


optional disabled_at?: string | null;

id: string;

Pass this to webhooks.remove().


optional topics?: string[];

["*"] — every event topic.


optional type?: string;

Always “webhook” for destinations created through this SDK.