Skip to content
Website API / Alerts

Send a test alert

POSThttps://<your Reveata origin>/api/v1/websites/{website}/alerts/{alertId}/test

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.

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

1–253 characters

alertIdstringrequired

Pattern: ^[a-f0-9]{24}$

Headers

Authorizationstringrequired

Bearer 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

FieldTypeDescription
status"ok"
dataobject
data.deliveriesobject[]
data.deliveries[].channelstring
data.deliveries[].statusstring
data.deliveries[].errorstring | null | null