Skip to main content

Create Slack Webhooks

The follwing mutation creates a slack webhook for a test suite:

mutation CreateSlackWebhook($testSuiteId: ObjectID!, $url: String!) {
createAutomatorSlackWebhook(input: {
testSuiteId: $testSuiteId,
url: $url
}) {
slackWebhook {
id
url
alertTypes
}
}
}

Try in explorer

caution

testSuiteId and url are the required fields.