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

# Get note labels

> Retrieve a paginated list of note labels. Note labels are used to categorize and organize notes within the system.



## OpenAPI

````yaml /openapi-private.json get /labels/note
openapi: 3.1.0
info:
  title: Spott API Reference
  version: '0.1'
servers:
  - url: https://api.gospott.com
security: []
tags: []
paths:
  /labels/note:
    get:
      tags:
        - Note Labels
      summary: Get note labels
      description: >-
        Retrieve a paginated list of note labels. Note labels are used to
        categorize and organize notes within the system.
      operationId: getNoteLabels
      parameters:
        - name: page
          required: false
          in: query
          schema:
            minimum: 0
            maximum: 10000
            default: 0
            type: integer
        - name: pageSize
          required: false
          in: query
          schema:
            default: 20
            type: integer
            minimum: 1
            maximum: 100
      responses:
        '200':
          description: >-
            Successfully retrieved note labels. Returns items array with
            pagination info.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NoteLabelPaginatedResponseDto'
        '400':
          description: >-
            Bad request - invalid query parameters (e.g., page or pageSize out
            of range)
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ExceptionBaseDto'
                  - type: object
                    properties:
                      statusCode:
                        type: number
                        example: 400
                      message:
                        type: string
                        example: Page size must be between 1 and 100
                      error:
                        type: string
                        example: Bad Request
        '401':
          description: Unauthorized - invalid or missing authentication
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseDto'
        '500':
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExceptionBaseDto'
      security:
        - x-api-key: []
components:
  schemas:
    NoteLabelPaginatedResponseDto:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/NoteLabelDto'
        pagination:
          $ref: '#/components/schemas/PaginationDto'
      required:
        - items
        - pagination
      id: PrivateNoteLabelPaginatedResponseDto
    ExceptionBaseDto:
      type: object
      properties:
        status:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        message:
          type: string
        requestId:
          type: string
      required:
        - status
        - message
        - requestId
      id: ExceptionBaseDto
    NoteLabelDto:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        colorHex:
          type: string
      required:
        - id
        - name
        - colorHex
      id: PrivateNoteLabelDto
    PaginationDto:
      type: object
      properties:
        totalItems:
          type: number
        page:
          type: number
        hasNextPage:
          type: boolean
      required:
        - totalItems
        - page
        - hasNextPage
      id: PaginationDto
  securitySchemes:
    x-api-key:
      type: apiKey
      name: x-api-key
      in: header
      description: >-
        API key for authentication. Get your API key from Settings → API Keys in
        your Spott dashboard.

````