Skip to content

Mark notifications read

POST
/api/me/notifications/read
curl --request POST \
--url https://forge.example.com/api/me/notifications/read \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "all": false }'

The ones named in ids, or every one with all. Answers the list as it is now.

Media typeapplication/json
object
ids
required
Array<string> | null
all
boolean

OK

Media typeapplication/json
object
items
required
Array<object>
object
id
required
string format: uuid
kind
required
string
modelId
required
string format: uuid
modelName
required
string
by
required
One of:
null
detail
required
null | string
at
required
string format: date-time
read
required
boolean
unread
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example generated

{
"items": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"kind": "example",
"modelId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"modelName": "example",
"by": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"displayName": "example"
},
"detail": "example",
"at": "2026-04-15T12:00:00Z",
"read": true
}
],
"unread": 1
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}