Skip to main content

CreateWebhookInput

Input for creating a webhook subscription.

input CreateWebhookInput {
url: String!
eventTypes: [WebhookEventType!]!
label: String!
headers: [WebhookHeaderInput!]
}

Fields

CreateWebhookInput.url ● String! non-null scalar

Destination URL (HTTPS only).

CreateWebhookInput.eventTypes ● [WebhookEventType!]! non-null enum

Event types to subscribe to (e.g. PATIENT_CREATED).

CreateWebhookInput.label ● String! non-null scalar

Short label to identify this subscription (e.g. in your admin UI).

CreateWebhookInput.headers ● [WebhookHeaderInput!] list input

Optional headers to send with each webhook delivery.

Member Of

createWebhook mutation