Mark notifications read
Mark notifications read by id, or every unread one with all: true. Needs only the read scope.
POST
https://app.trygtm.com/api/v1/notifications/read- Scope
read- MCP tool
- mark_notifications_read
Body
notification_idsstring[]optional- The notifications to mark.
allbooleanoptionaldefault: false- Mark every unread notification instead.
Request
curl -X POST https://app.trygtm.com/api/v1/notifications/read \
-H "Authorization: Bearer $TRYGTM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"all": true
}'Response
{
"data": {
"marked": 3
}
}