Skip to main content
GET
/
api
/
v1
/
notifications
cURL
curl --request GET \
  --url https://app.aegister.com/api/v1/notifications \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": "<array>",
  "total": 1,
  "data": [
    {
      "id": 123,
      "organization": {
        "id": 123,
        "name": "<string>",
        "logo": "<string>"
      },
      "title": "<string>",
      "message": "<string>",
      "type": "info",
      "action": "link",
      "read": true,
      "datetime": "2023-11-07T05:31:56Z",
      "icon": "<string>",
      "extra": {
        "href": "<string>"
      }
    }
  ]
}

Authorizations

X-Aegister-Token
string
header
required

Response

200 - application/json
error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Required range: 0 <= x <= 0
messages
array

If error is 1, contains zero or more details on the error.

total
number

Total number of items that meet the list filter.
This doesn't represent the number of items inside the data array.

Required range: x >= 0
data
object[]