Skip to main content

createAlertWebhook Mutation

Creates a new AlertWebhook object.

Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_manage_instances].

Input fields (CreateAlertWebhookInput!)

ArgumentTypeDescription
nameString!The name of the AlertWebhook.
urlString!The URL of the AlertWebhook.
payloadTemplateString!The template that is hydrated and then used as the body of the AlertWebhook request.
headersStringA JSON string of key/value pairs that will be sent as headers in the Webhook request.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (CreateAlertWebhookPayload)

alertWebhook (AlertWebhook)
clientMutationId (String)
errors ([ErrorType!]!)