/notification-config

GET <baseUrl>/notification-config

GET List all notification configs for a workspace

Responses

200 List of configs

POST Create a notification config

Request Body

Required
application/json
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

Required
application/json
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: header
    Name: 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: bearer
    Bearer Format: JWT