Appearance
Mark Notifications Read
Mark one notification — or all of them — as read. Both operations are idempotent.
POST /v1/notifications/:id/read
POST /v1/notifications/read-allMark one read
POST /v1/notifications/:id/readjson
{
"data": {
"message": "Marked as read"
}
}Returns 404 when the notification doesn't exist or belongs to another user.
Mark all read
POST /v1/notifications/read-alljson
{
"data": {
"message": "All marked as read"
}
}Example
bash
curl -X POST "https://api.packedge.dev/v1/notifications/read-all" \
-H "Authorization: Bearer pk_your_api_key"