# site.mochott.notification.updateSeen

> With seenAt, marks read the unread notifications created at or before seenAt, compared to the millisecond. Without a body or without seenAt, marks every unread notification read.

- Kind: procedure
- Authority: notification.mochott.site
- Lexicon: 1
- Published by [tokimeki.blue](https://lexicon.garden/identity/did:plc:4tr5dqti7nmu6g2czpthntak), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.notification.updateSeen)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.notification.updateSeen/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.notification.updateSeen/analytics)

## Procedure (`site.mochott.notification.updateSeen`)

Type: procedure · POST

### Input (application/json)

- `seenAt` (string · datetime)

### Output (application/json)

- `success` (boolean, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "With seenAt, marks read the unread notifications created at or before seenAt, compared to the millisecond. Without a body or without seenAt, marks every unread notification read.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "seenAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "success": {
              "type": "boolean"
            }
          },
          "required": [
            "success"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Mark notifications of the requesting account as read. Requires auth.",
  "id": "site.mochott.notification.updateSeen",
  "lexicon": 1,
  "revision": 1
}
```
