# social.coves.notification.listNotifications

> List the authenticated account's notifications (replies, mentions and upvote groups), newest first. A deleted or removed reference keeps its row as a placeholder with a status and no content.

- Kind: query
- Authority: notification.coves.social
- Lexicon: 1
- Published by [coves.social](https://lexicon.garden/identity/did:web:coves.social), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.notification.listNotifications)
- [Schema JSON](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.notification.listNotifications/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:web:coves.social/social.coves.notification.listNotifications/analytics)

## Query (`social.coves.notification.listNotifications`)

Type: query · GET

### Parameters (query string)

- `cursor` (string)
  - Constraints: maxLength: 500
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50

### Output (application/json)

- `cursor` (string)
  - Constraints: maxLength: 500
- `notifications` (array, required)
  - `items` (ref)
    - Reference: `social.coves.notification.defs#notificationView`
- `seenAt` (string · datetime)

### Errors

- `InvalidCursor`: The pagination cursor is invalid.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List the authenticated account's notifications (replies, mentions and upvote groups), newest first. A deleted or removed reference keeps its row as a placeholder with a status and no content.",
      "errors": [
        {
          "description": "The pagination cursor is invalid.",
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "maxLength": 500,
              "type": "string"
            },
            "notifications": {
              "items": {
                "ref": "social.coves.notification.defs#notificationView",
                "type": "ref"
              },
              "type": "array"
            },
            "seenAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "notifications"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "maxLength": 500,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.coves.notification.listNotifications",
  "lexicon": 1
}
```
