Get your free beta license ↗
API operation · security group
GET

/notifications

First published 3 Oct 20260.1.0Unchanged since publication

List administrator notification log entries

Who may call it
AdministratorResellerCustomer
Token scope, any of
securityreadall
Answers200 OK

Returns one page of notification entries, newest first. Each entry includes its ID, kind, subject, body, recipient email addresses, outcome and timestamp. Filter by id, kind, outcome or q. The response includes the available kinds, the total number of matching entries and counts for all outcomes combined and for each outcome before the outcome filter is applied.

The page parameter defaults to 1. Requests below 1 return the first page, and requests past the last page return the last page. An empty result has one page. The per_page parameter accepts 1 to 500 and defaults to 100 when omitted or out of range.

UrbeStack keeps the latest 500 entries. The response reports that limit in kept, the full log size in rows_total and the number of retained entries from the last 30 days in last_30_days. It includes oldest when the log has entries. The mail_installed field indicates whether the mail stack required to send notifications is installed.

Parameters

idquery ·integer, 1 or more
Numeric ID of a single notification log entry.
kindquery ·string, matching ^[a-z]+\.[a-z_]+$
pagequery ·integer, 1 or more
per_pagequery ·integer, 1 to 500
outcomequery ·string, one of mailed, nobody, no-mail-stack, failed
Notification outcome, either mailed for a sent notification, nobody when no administrator with an email address had the kind enabled, no-mail-stack when the mail stack was absent, or failed when sending failed.
qquery ·string, up to 200 characters
Text to search for in the subject, recipient email addresses and body. The search treats % and _ as literal characters.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/notifications?id=1&kind=profile&page=1&per_page=1&outcome=mailed&q=text" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "counts": {
    "all": 1,
    "failed": 1,
    "mailed": 1,
    "no-mail-stack": 1,
    "nobody": 1
  },
  "entries": [
    {
      "at": "text",
      "body": "text",
      "id": 1,
      "kind": "profile",
      "outcome": "mailed",
      "recipients": [
        "text"
      ],
      "subject": "text"
    }
  ],
  "kept": 1,
  "kinds": [
    {
      "default": 0,
      "description": "text",
      "enabled": true,
      "kind": "profile",
      "title": "text"
    }
  ],
  "last_30_days": 1,
  "mail_installed": true,
  "oldest": "text",
  "page": 1,
  "pages": 1,
  "per_page": 1,
  "rows_total": 1,
  "total": 1
}

Errors

1 error, each a status and a sentence
401Authentication required
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-notifications/