Skip to main content

SubscribeRequest_Input

No description

input SubscribeRequest_Input {
subscriptionID: String!
responseFragment: String!
webhookUrl: URL!
webhookHeaders: JSON
}

Fields

SubscribeRequest_Input.subscriptionID ● String! non-null scalar

Consumer-provided token that will be used for canceling the subscription. Should be url-safe

SubscribeRequest_Input.responseFragment ● String! non-null scalar

GraphQL fragment describing fields to include in webhook response. Must inherit from one of the 3 documented subscription response types.

example: fragment OpFields on Operation { id externalId name }

SubscribeRequest_Input.webhookUrl ● URL! non-null scalar

URL to POST subscription events to

SubscribeRequest_Input.webhookHeaders ● JSON scalar

Headers to include in webhook callbacks ie X-API-Key: "secret"

Member Of

webhookSubscribe mutation