Skip to content
Website API / Alerts

Get an alert

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

One alert or report.

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:read scope.

Response

The alert.

{
  "status": "string",
  "data": {
    "id": "string",
    "siteId": "string",
    "type": "traffic_spike",
    "name": "string",
    "enabled": true,
    "condition": {
      "threshold": "string",
      "percentChange": "string",
      "windowMinutes": "string",
      "goal": "string"
    },
    "channels": {
      "email": {
        "enabled": true,
        "recipientUserIds": []
      },
      "slack": {
        "enabled": true,
        "configured": true
      },
      "discord": {
        "enabled": true,
        "configured": true
      }
    },
    "message": "string",
    "lastTriggeredAt": "2026-01-01T00:00:00.000Z",
    "createdBy": "string",
    "createdAt": "2026-01-01T00:00:00.000Z"
  }
}

Response fields

FieldTypeDescription
status"ok"
dataobject
data.idstring
data.siteIdstring
data.typestring
data.namestring
data.enabledboolean
data.conditionobject
data.condition.thresholdnumber | null | null
data.condition.percentChangenumber | null | null
data.condition.windowMinutesinteger | null | null
data.condition.goalstring | null | null
data.channelsobject
data.channels.emailobject
data.channels.email.enabledboolean
data.channels.email.recipientUserIdsstring[]
data.channels.slackobject
data.channels.slack.enabledboolean
data.channels.slack.configuredboolean
data.channels.discordobject
data.channels.discord.enabledboolean
data.channels.discord.configuredboolean
data.messagestring | null | null
data.lastTriggeredAtstring (date-time) | null | null
data.createdBystring
data.createdAtstring (date-time)