---
updatedAt: 2026-04-23T12:57:25.000Z
agentTools:
  projectIndex: https://documentation.northstake.dk/llms.txt
---

# Mark all notifications as read

Bulk-sets read_at on all unread notifications for the authenticated user, optionally scoped to a vault.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Northstake",
    "description": "Northstake api\n\nOperation-level extensions used by the API:\n- x-roleRequired (array of strings): roles required to call the operation.\n- x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled.\n- x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.\n",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.northstake.dk/v1"
    }
  ],
  "paths": {
    "/notifications/read-all": {
      "patch": {
        "operationId": "markAllNotificationsRead",
        "summary": "Mark all notifications as read",
        "description": "Bulk-sets read_at on all unread notifications for the authenticated user, optionally scoped to a vault.",
        "tags": [
          "notifications"
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MarkAllNotificationsReadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Number of notifications updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarkAllNotificationsReadResponse"
                }
              }
            }
          },
          "400": {
            "description": "Client Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "title": "APIErrorResponse",
        "description": "General structure for error responses from the API.",
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "MarkAllNotificationsReadRequest": {
        "type": "object",
        "properties": {
          "staking_vault_id": {
            "type": "string",
            "description": "If provided, only mark notifications for this vault as read"
          }
        }
      },
      "MarkAllNotificationsReadResponse": {
        "type": "object",
        "required": [
          "updated"
        ],
        "properties": {
          "updated": {
            "type": "integer",
            "description": "Number of notifications that were marked as read"
          }
        }
      }
    }
  }
}
```