200
List of configs
/notification-config
GET
<baseUrl>/notification-config
GET List all notification configs for a workspace
Responses
POST Create a notification config
Request Body
Requiredapplication/json
Schema:
NotificationConfig
email
- Email notification
{
"email": "user@example.com",
"events": [
"TestCompleted"
],
"type": "email"
}
slack
- Slack notification
{
"events": [
"TestCompleted",
"ValidationCompleted"
],
"type": "slack",
"webhookUrl": "https://hooks.slack.com/services/XXX/YYY/ZZZ"
}
Responses
201
Created
PUT Update a notification config
Request Body
Requiredapplication/json
Schema:
NotificationConfig
email
- Email notification
{
"email": "user@example.com",
"events": [
"TestCompleted"
],
"type": "email"
}
slack
- Slack notification
{
"events": [
"TestCompleted",
"ValidationCompleted"
],
"type": "slack",
"webhookUrl": "https://hooks.slack.com/services/XXX/YYY/ZZZ"
}
Responses
200
Updated
Security
-
apiKeyAuth [apiKey]
API Key authentication. Use the X-API-KEY header (generated from the Vaktum portal) to authenticate directly to a workspace.In: headerName: X-API-KEY
-
bearerAuth [http]
OAuth2 authentication. Use the Authorization header with a Bearer token. Also provide X-WORKSPACE-ID header for workspace context.Scheme: bearerBearer Format: JWT