Webhooks (GraphQL)

Related queries and mutations in Notifications. Each has its own section.

Queries

generateWebhookUrl (query)

generateWebhookUrl is a query in the Monte Carlo GraphQL API, in Notifications. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Generate a webhook URL for an external service

Arguments

ArgumentTypeDescription
serviceWebhookServiceTypes!The external service

Returns

GenerateWebhookUrl

Example

query GenerateWebhookUrl($service: WebhookServiceTypes!) {
  generateWebhookUrl(service: $service) {
    webhookUrl
    webhookId
    service
  }
}

Types used only by generateWebhookUrl

GenerateWebhookUrl

Object type.

FieldTypeDescription
webhookUrlString!Generate a webhook URL
webhookIdUUID!The ID of the webhook
serviceWebhookServiceTypes!The external service
WebhookServiceTypes

Enum type.

ValueDescription
DATABRICKS
JIRA
OPSGENIE
PAGERDUTY
SERVICENOW
GITLAB
GITHUB
LINEAR

Related types

UUID

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.