Interface ShardWebhookRegisterResponse

Result of registering a webhook (includes the generated secret).

interface ShardWebhookRegisterResponse {
    ok: boolean;
    secret: string;
    webhook: WebhookEntry;
}

Properties

Properties

ok: boolean

Whether the registration succeeded.

secret: string

Generated signing secret for verifying webhook payloads.

webhook: WebhookEntry

The newly registered webhook.