Skip to main content

Webhook

A webhook subscription

type Webhook {
events: [Event]
id: ID!
secret: String
url: String
}

Fields

Webhook.events ● [Event] list enum

The events your webhook subscription will receive

Webhook.id ● ID! non-null scalar

The ID of your new webhook subscription. Save this ID in order to be able to unsubscribe later.

Webhook.secret ● String scalar

The shared secret for webhook request signatures. See our guide on Securing Webhooks for more information.

Webhook.url ● String scalar

The URL of your webhook subscription

Returned by

registerWebhook mutation