Notify API reference

Notify API · Client

get/v1/client/inbox/countsAuth

Get the inbox counts

Unseen and unread counts for the badge, cheap enough to poll every 30 seconds or more when the real-time stream is not available. Send the last `ETag` as `If-None-Match` to get `304` while nothing changed.

Headers

if-none-matchstring

The `ETag` of a previous response.

Response · 200 The counts (with an `ETag`).

unseen*integer

Items not yet seen.

unread*integer

Items not yet read.

Example

Request

GET https://api.notify.productcraft.co/v1/client/inbox/counts
Authorization: Bearer YOUR_TOKEN

Response

{
  "unseen": 0,
  "unread": 0
}