Webhook Object
Webhook.
type Webhook implements Node {
id: ID!
name: String
events: [WebhookEvent!]! @deprecated
syncEvents: [WebhookEventSync!]!
asyncEvents: [WebhookEventAsync!]!
app: App!
eventDeliveries(
sortBy: EventDeliverySortingInput
filter: EventDeliveryFilterInput
before: String
after: String
first: Int
last: Int
): EventDeliveryCountableConnection
targetUrl: String!
isActive: Boolean!
secretKey: String @deprecated
subscriptionQuery: String
customHeaders: JSONString
}
Fields
id ● ID!
The ID of webhook.
name ● String
The name of webhook.
syncEvents ● [WebhookEventSync!]!
List of synchronous webhook events.
asyncEvents ● [WebhookEventAsync!]!
List of asynchronous webhook events.
app ● App!
The app associated with Webhook.
eventDeliveries ● EventDeliveryCountableConnection
Event deliveries.
sortBy ● EventDeliverySortingInput
Event delivery sorter.
filter ● EventDeliveryFilterInput
Event delivery filter options.
before ● String
Return the elements in the list that come before the specified cursor.
after ● String
Return the elements in the list that come after the specified cursor.
first ● Int
Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
last ● Int
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
targetUrl ● String!
Target URL for webhook.
isActive ● Boolean!
Informs if webhook is activated.
subscriptionQuery ● String
Used to define payloads for specific events.
customHeaders ● JSONString
Custom headers, which will be added to HTTP request.
Show deprecated
Interfaces
Node
An object with an ID
Returned By
webhook query
Member Of
App object ● WebhookCreate object ● WebhookDelete object ● WebhookUpdate object