Skip to main content

webhookUpdate

Updates a webhook.

Example usage:

mutation WebhookUpdate($webhookId: ID!, $event: WebhookEvent, $url: String) {
webhookUpdate(input: { webhookId: $webhookId, event: $event, url: $url }) {
webhook {
id
event
url
state
}
errors {
path
message
}
}
}

Variables:

{
"webhookId": "wh_0000000000",
"event": "TICKET_STARTED",
"url": "https://example.com/webhooks/groove"
}
webhookUpdate(
input: WebhookUpdateInput!
): WebhookUpdatePayload

Arguments

webhookUpdate.input ● WebhookUpdateInput! non-null input common

Parameters for WebhookUpdate

Type

WebhookUpdatePayload object common

Autogenerated return type of WebhookUpdate