Skip to main content

WebhookUpdateInput Input Type

No description

input WebhookUpdateInput {
name: String
targetUrl: String
events: [WebhookEventTypeEnum!] @deprecated
asyncEvents: [WebhookEventTypeAsyncEnum!]
syncEvents: [WebhookEventTypeSyncEnum!]
app: ID
isActive: Boolean
secretKey: String @deprecated
query: String
customHeaders: JSONString
}

Fields

name ● String

The new name of the webhook.

targetUrl ● String

The url to receive the payload.

asyncEvents ● [WebhookEventTypeAsyncEnum!]

The asynchronous events that webhook wants to subscribe.

syncEvents ● [WebhookEventTypeSyncEnum!]

The synchronous events that webhook wants to subscribe.

app ● ID

ID of the app to which webhook belongs.

isActive ● Boolean

Determine if webhook will be set active or not.

query ● String

Subscription query used to define a webhook payload.

customHeaders ● JSONString

Custom headers, which will be added to HTTP request. There is a limitation of 5 headers per webhook and 998 characters per header.Only X-*, Authorization*, and BrokerProperties keys are allowed.

Show deprecated

Member Of

webhookUpdate mutation