Skip to content

WebhookSubscription

No description

interface WebhookSubscription {
id: Int!
events: [WebhookEvent!]!
query: String!
url: String!
client: OAuthClient
deliveries(
cursor: Cursor
): WebhookDeliveryCursor!
sample(
event: WebhookEvent!
): String!
}

If this webhook was registered by an authorized OAuth 2.0 client, this field is non-null.

All deliveries which have been sent to this webhook.

Returns a sample payload for this subscription, for testing purposes

createGitWebhook mutation ● createUserWebhook mutation ● deleteGitWebhook mutation ● deleteUserWebhook mutation ● gitWebhook query ● userWebhook query

WebhookDelivery object ● WebhookSubscriptionCursor object

GitWebhookSubscription object ● UserWebhookSubscription object