Webhooks
Create Webhook
Creates a new webhook for the authenticated team.
post/api/v2/webhooks
Request body
Example request
{
"name": "Production Alerts",
"service": "slack",
"url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX",
"description": "Sends critical alerts to the #incidents channel",
"body": "{\"alert\": \"{{title}}\", \"severity\": \"{{level}}\"}",
"headers": {
"Authorization": "Bearer secret-token"
}
}Response
Successfully created webhook
Example response
{
"data": {
"id": "507f1f77bcf86cd799439011",
"name": "Production Alerts",
"service": "slack",
"url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX",
"description": "Sends critical alerts to the #incidents channel",
"updatedAt": "2025-06-15T10:30:00.000Z",
"createdAt": "2025-01-01T00:00:00.000Z"
}
}