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.

createWebhook(
input: CreateWebhookInput!
): CreateWebhookPayload

Arguments

createWebhook.input ● CreateWebhookInput! non-null input

Type

CreateWebhookPayload object

Result of creating a webhook subscription.