> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rocksky.app/llms.txt
> Use this file to discover all available pages before exploring further.

# List notifications for the authenticated user, most recent first.

> Authenticate to retrieve your notifications. Without a token, returns an empty list and zero unread count.



## OpenAPI

````yaml /api-reference/openapi.json get /app.rocksky.notification.listNotifications
openapi: 3.1.0
info:
  title: Rocksky XRPC API
  version: 1.0.0
  description: >-
    Generated from the registered Rocksky XRPC handlers and current lexicons.
    Provider-defined payloads remain open schemas. Some handlers return empty
    fallback objects on service failures. This reference describes the
    repository implementation; production may run an earlier revision.
  license:
    name: MIT License
    identifier: MIT
servers:
  - url: https://api.rocksky.app/xrpc
    description: Rocksky API
security: []
paths:
  /app.rocksky.notification.listNotifications:
    get:
      tags:
        - app.rocksky.notification
      summary: List notifications for the authenticated user, most recent first.
      description: >-
        Authenticate to retrieve your notifications. Without a token, returns an
        empty list and zero unread count.
      operationId: app.rocksky.notification.listNotifications
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 30
            minimum: 1
            maximum: 100
        - name: cursor
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  notifications:
                    type: array
                    items:
                      $ref: >-
                        #/components/schemas/app.rocksky.notification.defs__notificationView
                  unreadCount:
                    type: integer
                    description: The number of unread notifications.
                  cursor:
                    type: string
                    description: >-
                      A cursor value to pass to subsequent calls to get the next
                      page of results.
                required:
                  - notifications
                  - unreadCount
        '400':
          description: Invalid XRPC request or parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/XrpcError'
        default:
          description: XRPC error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/XrpcError'
      security:
        - {}
        - Bearer: []
components:
  schemas:
    app.rocksky.notification.defs__notificationView:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the notification.
        type:
          type: string
          description: >-
            The notification type: like_scrobble, follow, comment_scrobble,
            comment_profile, reply, or react_comment.
          x-lexicon-knownValues:
            - like_scrobble
            - follow
            - comment_scrobble
            - comment_profile
            - reply
            - react_comment
        read:
          type: boolean
          description: Whether the notification has been viewed.
        createdAt:
          type: string
          description: When the notification was created.
          format: date-time
        subjectUri:
          type: string
          description: The at-uri of the subject the notification relates to.
        shoutId:
          type: string
          description: The id of the related shout, if any.
        shoutContent:
          type: string
          description: The content of the related shout, if any.
        actor:
          $ref: >-
            #/components/schemas/app.rocksky.notification.defs__notificationActor
        subject:
          $ref: '#/components/schemas/app.rocksky.notification.defs__subjectView'
      required:
        - id
        - type
        - read
        - createdAt
    XrpcError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
    app.rocksky.notification.defs__notificationActor:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the actor.
        did:
          type: string
          description: The decentralized identifier of the actor.
          x-lexicon-format: did
        handle:
          type: string
          description: The handle of the actor.
          x-lexicon-format: at-identifier
        displayName:
          type: string
          description: The display name of the actor.
        avatar:
          type: string
          description: The URL of the actor's avatar image.
          format: uri
      description: The user who triggered a notification.
    app.rocksky.notification.defs__subjectView:
      type: object
      properties:
        uri:
          type: string
          description: The at-uri of the subject.
        title:
          type: string
          description: The title of the track or album.
        artist:
          type: string
          description: The artist of the track or album.
        albumArt:
          type: string
          description: The album art image URL.
          format: uri
      required:
        - uri
      description: >-
        The song, album, or scrobble a notification relates to, for rich
        display.
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      description: Rocksky bearer token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.