Skip to content

Docs

mark_notifications_read

Mark your notifications as read: pass their ids, or all: true (optionally within one workspaceId). Reading does not change the posts they are about; failed posts stay in Updates until handled.

Mark your notifications as read: pass their ids, or all: true (optionally within one workspaceId). Reading does not change the posts they are about; failed posts stay in Updates until handled.

Access and cost

  • Kind: mutation
  • Scope: account
  • Actors: member, agent
  • Credits: Free
  • Requires confirmation: false
  • Accepts idempotency key: false

Input schema

{
  "properties": {
    "ids": {
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "maxItems": 200,
      "minItems": 1,
      "type": "array"
    },
    "all": {
      "default": false,
      "type": "boolean"
    },
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    }
  },
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "marked": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "marked"
  ],
  "type": "object"
}

Errors

[]

Annotations

{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": false,
  "title": "Mark notifications read"
}