---
title: "Send a downtime's started message to its destinations"
method: POST
path: "/api/v2/{org_id}/downtimes/{downtime_id}/test"
tags: ["Downtimes"]
---

# Send a downtime's started message to its destinations

`POST /api/v2/{org_id}/downtimes/{downtime_id}/test`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/v2/{org_id}/downtimes/{downtime_id}/test`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/v2/:org_id/downtimes/:downtime_id/test/post.ts> (a function with typed inputs; its response is checked against the schema)

Renders and sends the started message of the downtime's current or next window through the same path a real start uses, to the listed destinations of the downtime (all of them when the list is empty). Each destination gets one result.

## Path parameters

- `org_id` string, required
- `downtime_id` string, required

## Request body

- DowntimeTestRequest: Which of the downtime's destinations a test send reaches; empty means all of them.
  - `destinations` string[]

## Response `200`

One result per destination

- DowntimeTestResult[]
  - `destination` string, required
  - `error` string, nullable
  - `ok` boolean, required
  - `unsupported` boolean

## Other responses

- `403`: Forbidden or not enabled
- `404`: Not found

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
