Gamma API

Mark a notification read

PATCH
/api/account/inbox/{notificationId}

Or unread again.

Who may call it: Any signed-in user, for their own account. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

notificationId*string

Request Body

application/json
  1. body
read*boolean

False puts it back to unread.

Response Body

Done; no content.

Example Request
curl -X PATCH 'http://localhost:3000/api/account/inbox/string' \  -H 'Content-Type: application/json' \  -d '{  "read": true}'
Example Response
Empty