---
title: "Test notification method with fake data"
method: POST
path: "/notification_methods/{method_id}/test-with-data"
tags: ["Notifications"]
---

# Test notification method with fake data

`POST /notification_methods/{method_id}/test-with-data`

Send a test notification with realistic fake data.

Supports all notification types via the `type` query parameter:
- `leak` (default): Test with fake credential leaks
- `raw`: Test with fake raw search results
- `dark_web`: Test with fake dark web posts

Rate limit: 30 tests per hour.

Supported for all method types: email, slack, telegram, webhook, discord.

## Path parameters

- `method_id` integer, required — ID of the notification method.

## Query parameters

- `notification_type` string — Fake data type: leak (default), raw, or dark_web.

## Response `200`

Test notification sent successfully.

- unknown

## Other responses

- `400` — Delivery failed.
- `401` — Authentication required.
- `404` — Notification method not found.
- `422` — Validation Error
- `429` — Rate limit exceeded (30 tests per hour).
- `500` — Internal error while sending the test notification.

---

[API](https://skmtc.dev/leakradar/apis/leakradar-io-api.md) · [All operations](https://skmtc.dev/leakradar/apis/leakradar-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/leakradar/leakradar-io-api/revisions/82a99c608e1a/schema)
