Skip to main content

createWebhook

Registers a webhook URL for the current practice. Returns the webhook id and secret.

Rejects if URL is invalid, duplicate (same URL + event), or webhooks are disabled.

See the Webhooks guide for payload verification, delivery behaviour, and logs.

createWebhook(
input: CreateWebhookInput!
): CreateWebhookPayload

Arguments

createWebhook.input ● CreateWebhookInput! non-null input

Type

CreateWebhookPayload object

Result of creating a webhook subscription.