# app.tempomusic.notification.listNotifications

> Published by [lexicons.tempomusic.fan](https://lexicon.garden/identity/did:plc:pxsuqmultto34oks44m2lgxm)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.notification.listNotifications)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.notification.listNotifications/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pxsuqmultto34oks44m2lgxm/app.tempomusic.notification.listNotifications/examples)

## Definitions

### `app.tempomusic.notification.listNotifications`

**Type**: `query`

Paginated notifications addressed to the requesting viewer, newest first. The viewer DID is read from the service-auth JWT (`iss` claim) — no `?viewer=` query parameter.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum number of notifications to return. |
| `cursor` | `string` | No | Opaque pagination cursor returned by a previous call. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Cursor for fetching the next page. Absent when no further results are available. |
| `seenAt` | `string` (datetime) | No | The server's currently persisted seenAt for this viewer. Absent when never set. |
| `notifications` | `array` | Yes |  |

## Raw Schema

```json
{
  "id": "app.tempomusic.notification.listNotifications",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "notifications"
          ],
          "properties": {
            "cursor": {
              "type": "string",
              "maxLength": 1024,
              "description": "Cursor for fetching the next page. Absent when no further results are available."
            },
            "seenAt": {
              "type": "string",
              "format": "datetime",
              "description": "The server's currently persisted seenAt for this viewer. Absent when never set."
            },
            "notifications": {
              "type": "array",
              "items": {
                "ref": "app.tempomusic.notification.defs#notificationView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of notifications to return."
          },
          "cursor": {
            "type": "string",
            "maxLength": 1024,
            "description": "Opaque pagination cursor returned by a previous call."
          }
        }
      },
      "description": "Paginated notifications addressed to the requesting viewer, newest first. The viewer DID is read from the service-auth JWT (`iss` claim) — no `?viewer=` query parameter."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
