---
title: "Send a test alert"
method: POST
path: "/v1/integrations/{id}/test"
tags: ["Integrations"]
---

# Send a test alert

`POST /v1/integrations/{id}/test`

## Request

- Base URL: `https://api.upcheck.so`
- URL: `https://api.upcheck.so/v1/integrations/{id}/test`
- Auth: HTTP bearer

Posts a clearly-labelled sample alert to the integration, in the exact shape a real one takes. Works on a disabled integration, so a URL can be proven before it is switched on. A delivery failure returns 502 with what the receiver said.

## Path parameters

- `id` string, required

## Response `200`

Delivered.

- object
  - `ok` true, required

## Other responses

- `400`: The request body or parameters are invalid. `error` names the first problem.
- `401`: The API key is missing, invalid, or revoked.
- `403`: The key's role does not allow this action.
- `404`: No such resource in this organization.
- `429`: The key's rate limit was exceeded. Honour `Retry-After`.
- `502`: A downstream delivery failed; `error` carries what the receiver said.

---

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