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 MarkdownGet 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
notificationIdrequiredThe notification's id.
Response
Returns a Notification.
curl 'https://api.hematite.gg/v1/notifications/1' \
-H "Authorization: $HEMATITE_TOKEN"{
"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
notificationIdrequiredThe notification's id.
Body
statusenumrequiredOne of
UnreadReadAcknowledged
Response
Returns a Notification.
curl -X PATCH 'https://api.hematite.gg/v1/notifications/1' \
-H "Authorization: $HEMATITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"status":"Unread"}'{
"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
notificationIdrequiredThe notification's id.
Response
data is empty: the status says it worked.
curl -X DELETE 'https://api.hematite.gg/v1/notifications/1' \
-H "Authorization: $HEMATITE_TOKEN"