Skip to content

Mark notifications read

Marks the named notifications read, or every unread one when none is named.

Needs the profile:write scope.

Call

  • Tool: mark_notifications_read
  • Scope: profile:write
  • Writes, and may change or remove what is there.
  • Acts on a store.

Arguments

Name Type Required Description
ids array of string No The notifications to mark read, each once; left out, every unread one is.
{
  "type": "object",
  "properties": {
    "ids": {
      "description": "The notifications to mark read, each once; left out, every unread one is.",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      },
      "minItems": 1,
      "maxItems": 100
    }
  },
  "additionalProperties": false
}

Answer

Name Type Required Description
marked number Yes

The answer’s full shape is on its API reference page.

Type to search…

↑↓ navigate↵ selectEsc close