WebhookMutationSection (Object)
type WebhookMutationSection {
createSubscriptionWebhook(
refreshToken: String!
label: String!
subscription: String!
variables: Json!
webhookUrl: String!
includeAuthorizationHeader: Boolean! = true
): CreateSubscriptionWebhookOutput!
deleteSubscriptionWebhook(
label: String!
): Boolean!
}
Fields
WebhookMutationSection.createSubscriptionWebhook ● CreateSubscriptionWebhookOutput! non-null union
WebhookMutationSection.createSubscriptionWebhook.refreshToken ● String! non-null scalar
Possible violation list: TOKEN_EXPIRES_ERROR
WebhookMutationSection.createSubscriptionWebhook.label ● String! non-null scalar
Possible violation list: TOO_SHORT_ERROR,TOO_LONG_ERROR,NOT_EQUAL_LENGTH_ERROR,INVALID_CHARACTERS_ERROR
WebhookMutationSection.createSubscriptionWebhook.subscription ● String! non-null scalar
Possible violation list: SYNTAX_ERROR,INVALID_TYPE_ERROR,SCHEMA_MISMATCH_ERROR
WebhookMutationSection.createSubscriptionWebhook.variables ● Json! non-null scalar
Possible violation list: IS_NOT_SOME_ERROR
WebhookMutationSection.createSubscriptionWebhook.webhookUrl ● String! non-null scalar
Possible violation list: INVALID_URL_ERROR,MISSING_TLD_ERROR
WebhookMutationSection.createSubscriptionWebhook.includeAuthorizationHeader ● Boolean! non-null scalar
If true, authorization header will be passed while invoking webhook.
WebhookMutationSection.deleteSubscriptionWebhook ● Boolean! non-null scalar
WebhookMutationSection.deleteSubscriptionWebhook.label ● String! non-null scalar
Returned By
webhook mutation