# social.grain.notification.updateSeen

> Mark the viewer's notifications seen up to a time, as app.bsky.notification.updateSeen does. getUnreadCount counts from it. Requires auth.

- Kind: procedure
- Authority: notification.grain.social
- Lexicon: 1
- Published by [grain.social](https://lexicon.garden/identity/did:plc:e7rftrdyz5e2rw4y6ocszew2), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.notification.updateSeen)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.notification.updateSeen/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.notification.updateSeen/analytics)

## Procedure (`social.grain.notification.updateSeen`)

Type: procedure · POST

### Input (application/json)

- `seenAt` (string · datetime, required)

### Output (application/json)


## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Mark the viewer's notifications seen up to a time, as app.bsky.notification.updateSeen does. getUnreadCount counts from it. Requires auth.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "seenAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "seenAt"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.grain.notification.updateSeen",
  "lexicon": 1
}
```
