---
title: "Test Subscription"
method: POST
path: "/v1/alerts/subscriptions/{subscription_id}/test"
tags: ["alerts"]
---

# Test Subscription

`POST /v1/alerts/subscriptions/{subscription_id}/test`

## Request

- Base URL: `https://api.ctindex.io`
- URL: `https://api.ctindex.io/v1/alerts/subscriptions/{subscription_id}/test`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Send a synthetic, clearly-marked test event to verify the destination.

Paid-tier only. Free-tier callers receive 403 with the same upgrade hint
used elsewhere — a test webhook is the killer use-case for that channel,
so gating it for free matches the rest of the alerts surface.

## Path parameters

- `subscription_id` string, uuid, required

## Cookies

- `ctix_session` string, nullable

## Response `200`

Successful Response

- AlertTestResponse: Result of a one-shot synthetic delivery.
  - `delivered` boolean, required
  - `channel` string, required
  - `status_code` integer, nullable
  - `latency_ms` integer, nullable
  - `error` string, nullable

## Other responses

- `422`: Validation Error

---

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