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

# Get Notifications

> Retrieves a list of notifications for the current user.

<Note>
  This endpoint requires authentication. Include your Bearer token in the Authorization header.
</Note>

## Code Examples

<CodeGroup>
  ```javascript Node.js theme={null}
  const response = await fetch('https://api.royalti.io/notifications', {
    method: 'GET',
    headers: {
      'Authorization': `Bearer ${token}`,
    },
  });

  const data = await response.json();
  console.log(data);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
    'https://api.royalti.io/notifications',
    headers={
      'Authorization': f'Bearer {token}'
    },
  )

  data = response.json()
  print(data)
  ```

  ```bash cURL theme={null}
  curl -X GET https://api.royalti.io/notifications \
    -H "Authorization: Bearer YOUR_TOKEN" \

  ```
</CodeGroup>


## OpenAPI

````yaml get /notifications
openapi: 3.0.0
info:
  title: Royalti.io API
  description: "# Royalti API\r\n\r\nThis is the Royalti music royalty management platform API server.\r\n\r\n## Overview\r\n\r\nThe Royalti API provides comprehensive music royalty management services including:\r\n- Music publishing and writer management\r\n- Royalty processing and analytics\r\n- DDEX integration for music industry standards\r\n- File processing and pattern recognition\r\n- Payment processing and distribution\r\n\r\n## Authentication\r\n\r\nThe API uses JWT-based authentication with multiple protection levels:\r\n- Public endpoints for basic operations\r\n- Protected endpoints requiring valid JWT tokens\r\n- Admin endpoints for administrative functions\r\n\r\n## Features\r\n\r\n- Multi-dimensional royalty analytics\r\n- CWR (Collective Works Registration) support\r\n- DDEX integration for music metadata\r\n- Advanced file processing with pattern recognition\r\n- Real-time data processing with queue system"
  version: 2.6.0
  contact:
    name: Royalti.io Support
    email: support@royalti.io
    url: https://royalti.io
  license:
    name: Proprietary
    url: https://royalti.io/terms
servers:
  - url: https://api.royalti.io
    description: Production server
  - url: https://api-dev.royalti.io
    description: Development server
  - url: http://localhost:8084
    description: Local development
security:
  - bearerAuth: []
tags:
  - name: Accounting
    description: Accounting and financial transaction operations
  - name: DDEX
    description: DDEX operations (ERN/MEAD, messages, delivery, providers)
  - name: Label
    description: Label management operations
  - name: Internal Webhooks
    description: Internal system webhooks for royalty processing and downloads
  - name: Payment Webhooks
    description: Payment processor webhook endpoints
  - name: Billing Webhooks
    description: Stripe billing and subscription webhooks
  - name: Infrastructure Webhooks
    description: Cloudflare domain and SSL webhooks
  - name: Distribution Webhooks
    description: Digital distribution platform webhooks (FUGA)
paths:
  /notifications:
    get:
      tags:
        - Notifications
      summary: Get Notifications
      description: |-
        Retrieves a list of notifications for the current user.

        ### Required Permissions
        - `notifications:read`
      responses:
        '200':
          description: List of notifications
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Notification'
              example:
                status: success
                message: Notifications retrieved successfully
                data:
                  notifications:
                    - id: dd12f9bc-3ed5-453e-a929-69b6d5267f4b
                      type: Track created
                      title: Track Created
                      content: Track \"Midnight City\" has been created.
                      resourceType: Asset
                      resourceId: 0b13028e-74a9-4d1d-bb9f-12cef06ff236
                      actionUrl: /assets/0b13028e-74a9-4d1d-bb9f-12cef06ff236
                      isRead: false
                      isImportant: false
                      isArchived: false
                      metadata: {}
                      expiresAt: null
                      TenantId: 2
                      TenantUserId: c75c54e3-b6e0-4b89-b443-928727b9a931
                      createdAt: '2025-08-21T11:42:37.717Z'
                      updatedAt: '2025-08-21T11:42:37.717Z'
                    - id: a316f40e-c828-4996-a68e-4f10f4055a96
                      type: Release created (Auto)
                      title: New Release Created
                      content: >-
                        Release \"My First Single\" has been created by Test
                        Artist
                      resourceType: release
                      resourceId: 24011c4c-87c7-4e99-b6bd-c75caf82170d
                      actionUrl: null
                      isRead: false
                      isImportant: false
                      isArchived: false
                      metadata:
                        type: Audio
                        format: Single
                        status: draft
                        artistName: Test Artist
                        releaseTitle: My First Single
                      expiresAt: null
                      TenantId: 2
                      TenantUserId: c75c54e3-b6e0-4b89-b443-928727b9a931
                      createdAt: '2025-07-25T09:55:46.086Z'
                      updatedAt: '2025-07-25T09:55:46.086Z'
                  total: 34
                  page: 1
                  pageSize: 20
                  totalPages: 2
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - bearerAuth: []
components:
  schemas:
    Notification:
      type: object
      properties:
        id:
          type: string
          example: '1'
        title:
          type: string
          example: New Message
        message:
          type: string
          example: You have a new message from User
        read:
          type: boolean
          example: false
        createdAt:
          type: string
          format: date-time
          example: '2025-07-10T14:30:00Z'
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: error
              message:
                type: string
                example: Unauthorized
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: error
              message:
                type: string
                example: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT Authorization header using the Bearer scheme. Format: "Bearer
        {token}"

````