PearPear

Mark notifications as read

Marks a single notification (by id) or all notifications up to a timestamp as read.

POST
/notifications/read
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/notifications/read" \  -H "Content-Type: application/json" \  -d '{    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"  }'
{  "updated": -9007199254740991}