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

# Get Notifications

> Retrieves notifications for the current user



## OpenAPI

````yaml GET /notifications/get-notifications
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /notifications/get-notifications:
    get:
      summary: Get Notifications
      description: Retrieves notifications for the current user
      responses:
        '200':
          description: Notifications retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetNotificationsResponse'
components:
  schemas:
    GetNotificationsResponse:
      type: object
      required:
        - notifications
        - userNotificationInfo
      properties:
        notifications:
          type: array
          items:
            type: object
            required:
              - id
              - userId
              - type
              - data
              - isRead
              - createdAt
            properties:
              id:
                type: string
                description: Unique identifier for the notification
              userId:
                type: string
                description: ID of the user this notification belongs to
              type:
                type: string
                description: Type of notification
              data:
                type: object
                description: Additional data specific to the notification type
              isRead:
                type: boolean
                description: Whether the notification has been read
              createdAt:
                type: number
                description: Timestamp when the notification was created
        userNotificationInfo:
          type: object
          required:
            - id
            - newNotificationIds
            - lastUpdated
          properties:
            id:
              type: string
              description: ID of the user notification info document
            newNotificationIds:
              type: array
              items:
                type: string
              description: Array of unread notification IDs
            lastUpdated:
              type: number
              description: Timestamp when the notification info was last updated

````