List alerts
GET https://datafa.st/api/v1/admin/websites/{websiteId}/alertsList email alerts configured for a website. Each alert fires when a specific goal is completed and sends an email to the website owner.
Maximum 25 alerts per website.
Related: Alerts
Request
Path parameters
websiteIdstring
Response
Returns a JSON object with
status: "success" and endpoint-specific fields in data.Response fields
data[].idstring
Alert ObjectId.
data[].websiteIdstring
Website ObjectId used by account tokens to choose which website to query or manage.
data[].namestring
Human-readable name for the resource or event. The exact meaning depends on the endpoint.
data[].trigger.typestring
Trigger type. Currently
goal.data[].trigger.goalNamestring
Goal watched by the alert.
data[].destination.typestring
Destination type. Currently
email.data[].template.subjectstring (optional)
Custom subject when configured; omitted otherwise.
data[].template.messagestring
Human-readable confirmation or status message for the operation.
data[].isEnabledboolean
Whether the alert is enabled.
data[].triggerCountnumber
All-time successful trigger count.
data[].monthlyCountnumber
Current billing-cycle trigger count.
data[].monthlyCountResetAtstring
Timestamp used to reset the monthly counter.
data[].dailyCountnumber
Current UTC-day trigger count.
data[].dailyCountResetAtstring
Timestamp used to reset the daily counter.
data[].lastTriggeredAtstring|null (optional)
Latest successful trigger timestamp, when available; omitted before the first trigger.
data[].lastErrorstring|null (optional)
Latest delivery error, when available; omitted before an error is recorded.
data[].recentLogsobject[]
Recent trigger logs.
data[].createdAtstring
Creation timestamp.
data[].updatedAtstring
Last update timestamp.
Authentication
Use a
dft_ account token with alerts:read.A
df_ website API key for the same website can also call this route when the path websiteId matches the key's website. Write access with a df_ key is capped at member level — owner-only actions such as team management require a dft_ token and owner role.Errors
See API errors for the standard error envelope, auth failures, validation errors, permission errors, and rate limits.