Skip to content
Dashboard

developers / API reference

Notifications API

The Notifications API: read, mark and delete your notifications, with every endpoint's fields, who may call it, its rate limit and a curl example.

This page as Markdown

Get a single notification by ID

get/notifications/:notificationId

Needs
Session token
The token from signing in, in the Authorization header.
Rate limit
120 a minute
Per address, for this endpoint.
App scope
notifications:read
What an app's token or an API key needs.

Path parameters

  • notificationIdrequired

    The notification's id.

Response

Returns a Notification.

Request
curl 'https://api.hematite.gg/v1/notifications/1' \
  -H "Authorization: $HEMATITE_TOKEN"
Example data
{
  "id": 1,
  "userId": 1,
  "createdAt": "2026-11-10T18:24:00.000Z",
  "updatedAt": "2026-11-10T18:24:00.000Z",
  "type": "Neutral",
  "title": "Clutch on Ascent",
  "message": "OK",
  "status": "Unread",
  "metadata": null
}

Update a notification by ID

patch/notifications/:notificationId

Needs
Session token
The token from signing in, in the Authorization header.
Rate limit
120 a minute
Per address, for this endpoint.
App scope
notifications:write
What an app's token or an API key needs.

Path parameters

  • notificationIdrequired

    The notification's id.

Body

  • statusenumrequired

    One ofUnreadReadAcknowledged

Response

Returns a Notification.

Request
curl -X PATCH 'https://api.hematite.gg/v1/notifications/1' \
  -H "Authorization: $HEMATITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"status":"Unread"}'
Example data
{
  "id": 1,
  "userId": 1,
  "createdAt": "2026-11-10T18:24:00.000Z",
  "updatedAt": "2026-11-10T18:24:00.000Z",
  "type": "Neutral",
  "title": "Clutch on Ascent",
  "message": "OK",
  "status": "Unread",
  "metadata": null
}

Delete a notification by ID

delete/notifications/:notificationId

Needs
Session token
The token from signing in, in the Authorization header.
Rate limit
120 a minute
Per address, for this endpoint.
App scope
notifications:write
What an app's token or an API key needs.

Path parameters

  • notificationIdrequired

    The notification's id.

Response

data is empty: the status says it worked.

Request
curl -X DELETE 'https://api.hematite.gg/v1/notifications/1' \
  -H "Authorization: $HEMATITE_TOKEN"