WebhookSubscription
A Subscription to the webhooks service. It describes the registration of a callback url (the endpoint) and a list of event types the client wants to be notified of.
type WebhookSubscription {
id: ID!
label: String!
endpoint: String!
secret: String
eventTypes: [String!]!
createdAt: DateTime!
updatedAt: DateTime!
statusInfo: WebhookSubscriptionStatusInfo!
kpi: WebhookSubscriptionKpi
webhookEventLogs(
first: Int! = 50
after: String
filters: NestedWebhookEventLogFiltersInput
): WebhookEventLogsConnection
}
Fields
WebhookSubscription.id
● ID!
non-null scalar
Unique identifier of the Subscription
WebhookSubscription.label
● String!
non-null scalar
A client provided short description of the Subscription
WebhookSubscription.endpoint
● String!
non-null scalar
The callback URL to be used for POSTing events