---
title: "Test a notification settings with mock data"
method: POST
path: "/v5/notifications/test"
tags: ["Notifications"]
---

# Test a notification settings with mock data

`POST /v5/notifications/test`

## Request

- Base URL: `https://api.kadoa.com`
- URL: `https://api.kadoa.com/v5/notifications/test`
- Auth: API key in header `x-api-key`

## Request body

- object
  - `eventType` string, required: Event type to test (e.g., workflow_finished, workflow_data_change)
  - `workflowId` string: Optional workflow ID for workflow-specific testing

## Response `200`

Test event sent successfully

- object
  - `data` object
    - `eventId` string: Unique identifier for the event
    - `eventType` string: Event type that was sent
    - `workflowId` string: Workflow ID used in the event (if provided)
  - `status` string
  - `message` string

## Other responses

- `400`: Invalid request (missing eventType or invalid eventType)
- `401`: Unauthorized
- `500`: Internal server error

---

[API](https://skmtc.dev/kadoa/apis/kadoa-api.md) · [All operations](https://skmtc.dev/kadoa/apis/kadoa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kadoa/apis/kadoa-api/revisions/bf7803c927b4?raw)
