---
title: "Send a sample delivery for an alert rule on each of its channels now and answer what happened. Webhooks are POSTed JSON signed with the workspace secret: header x-scrollstash-signature is v1=hex(HMAC-SHA256(secret, `${x-scrollstash-timestamp}.${raw body}`))."
method: POST
path: "/v1/workspaces/{ws}/alerts/{alertId}/test"
tags: ["alerts"]
---

# Send a sample delivery for an alert rule on each of its channels now and answer what happened. Webhooks are POSTed JSON signed with the workspace secret: header x-scrollstash-signature is v1=hex(HMAC-SHA256(secret, \`${x-scrollstash-timestamp}.${raw body}\`)).

`POST /v1/workspaces/{ws}/alerts/{alertId}/test`

## Request

- Base URL: `https://api.storequant.com`
- URL: `https://api.storequant.com/v1/workspaces/{ws}/alerts/{alertId}/test`
- Auth: HTTP bearer

Send a sample delivery for an alert rule on each of its channels now and answer what happened. Webhooks are POSTed JSON signed with the workspace secret: header x-scrollstash-signature is v1=hex(HMAC-SHA256(secret, `${x-scrollstash-timestamp}.${raw body}`)). Scope `alerts:write`; cache `none`.

## Path parameters

- `ws` string, required
- `alertId` string, uuid, required

## Request body

- object

## Response `201`

Success.

- object
  - `data` object, required
    - `alert_id` string, uuid, required
    - `deliveries` object[], required
      - `channel` 'email' | 'webhook', required
      - `status` 'sent' | 'failed', required
      - `error` string, nullable, required
  - `meta` object, required
    - `request_id` string, required
    - `as_of` string, date-time, required
    - `lag_hours` number
    - `cursor` string
    - `count` integer

## Other responses

- `4XX`: The one error shape.
- `5XX`: The one error shape.

---

[API](https://skmtc.dev/scrollstash/apis/storequant-api.md) · [All operations](https://skmtc.dev/scrollstash/apis/storequant-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrollstash/apis/storequant-api/revisions/4d67a114a13c?raw)
