---
title: "Test Notification Rule Route"
method: POST
path: "/api/notifications/rules/{rule_id}/test"
tags: ["notifications"]
---

# Test Notification Rule Route

`POST /api/notifications/rules/{rule_id}/test`

## Request

- Base URL: `https://platform.verbiflow.com/api/bridge`
- URL: `https://platform.verbiflow.com/api/bridge/api/notifications/rules/{rule_id}/test`
- Auth: one of:
  - HTTP bearer and API key in header `x-flage-org-id`
  - HTTP bearer and API key in header `x-flage-org-slug`

## Path parameters

- `rule_id` string, required

## Query parameters

- `event_id` string, uuid, nullable
- `target_index` integer, nullable

## Request body

- NotificationTestRequest
  - `idempotency_key` string, required

## Response `200`

Successful Response

- NotificationTestResponse
  - `channel_id` string, nullable, required
  - `email_message_id` string, nullable, required
  - `error` string, nullable, required
  - `idempotency_key` string, required
  - `message_ts` string, nullable, required
  - `ok` boolean, required
  - `replayed` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract.md) - [All operations](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/llms.txt) - [OpenAPI document](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/revisions/c80e903ef8f3?raw)
