Send a test alert
Sends a test through every enabled channel. Weekly and monthly reports send the real report; other alerts send a plain test message, never made-up numbers. Not recorded in history. At most 10 tests per person every 10 minutes. Needs the editor role.
Related: Recent alert firings and List alerts in Alerts.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
alertIdstringrequiredPattern: ^[a-f0-9]{24}$
Headers
AuthorizationstringrequiredBearer followed by an account token or an OAuth access token with the alerts:write scope.
Response
Delivery per channel.
{
"status": "string",
"data": {
"deliveries": [
{
"channel": "email",
"status": "sent",
"error": "string"
}
]
}
}Response fields
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.deliveries | object[] | |
| data.deliveries[].channel | string | |
| data.deliveries[].status | string | |
| data.deliveries[].error | string | null | null |