Burn & Claim’s new API is in preview: these pages describe it as it will be at launch.
Burn & Claim Docs

Mark some or all of a device’s alerts read

Marks the named notifications in this phone’s or browser’s list read, or every one when `ids` is left out (AERO-3895). One outside its list is left alone. Safe to send again. Answers how many are still unread.

POST/v1/alerts/notifications/read

Marks the named notifications in this phone’s or browser’s list read, or every one when ids is left out (AERO-3895). One outside its list is left alone. Safe to send again. Answers how many are still unread.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/alerts/notifications/read" \  -H "Content-Type: application/json" \  -d '{    "mobilePush": {      "token": "string"    },    "webPush": {      "endpoint": "https://example.com"    },    "ids": [      "alertnote_01j3sa8pvcfp79z85hrb9y9xd6"    ]  }'
{  "unreadCount": 0}