Notifications

Mark every notification read

curl -X POST https://api.subscriby.net/v1/me/notifications/read-all \
  -H "Authorization: Bearer $SUBSCRIBY_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)"

Answers 200 with how many entries were unread and are read now. A second call marks nothing and answers 0.

post/v1/me/notifications/read-all

Request

  • Base URL: https://api.subscriby.net
  • URL: https://api.subscriby.net/v1/me/notifications/read-all
  • Auth: HTTP bearer

Headers

Idempotency-Keystring uuid required

A key unique to this operation, such as a fresh UUID. The same key replays the original 2xx response for 24 hours (with Idempotent-Replay: true), so a retry after a timeout never repeats the write; the same key with a different body is refused with 409.

Response

200 with how many rows were marked.

Example response

{
  "data": {
    "marked": 3
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.