# Get all appointment types

Endpoint: GET /appointment-type
Version: 1.0
Security: bearer

## Security:

  - `bearer` (unknown)
    http bearer JWT

## Query parameters:

  - `title` (string, required)
    The title of the appointment type

  - `page` (number)
    Page number (0-based)

  - `pageSize` (number)
    Number of items per page

## Response 200:

  - `200` (unknown)
    List of appointment types

## Response 200 fields (application/json):

  - `title` (string, required)
    The title of the appointment type
    Example: 1 Filling - Returning

  - `isEnabled` (boolean)
    Indicates if the appointment type is enabled
    Example: true

  - `id` (number, required)
    The unique ID of the appointment type
    Example: 123

  - `createdAt` (string, required)
    The date and time the appointment type was created
    Example: 2021-08-01T00:00:00.000Z

  - `updatedAt` (string, required)
    The date and time the appointment type was last updated
    Example: 2021-08-01T00:00:00.000Z

## Response 401:

  - `401` (unknown)
    Unauthorized: Invalid or missing token.

## Response 401 fields (application/json):

  - `message` (string, required)
    Error message indicating unauthorized access.
    Example: Unauthorized

  - `statusCode` (number, required)
    HTTP status code for unauthorized access.
    Example: 401

## Response 403:

  - `403` (unknown)
    Forbidden: Access denied due to unaccepted Terms or insufficient permissions.

## Response 403 fields (application/json):

  - `statusCode` (number, required)
    HTTP status code indicating forbidden access due to unaccepted Terms of Service.
    Example: 403

  - `message` (string, required)
    Human-readable explanation of the error.
    Example: User must accept Terms of Service before continuing

  - `reason` (string, required)
    Machine-readable reason code for the error.
    Example: tos_required

  - `termsOfServicesLink` (string, required)
    URL to the Terms of Service the user must accept.
    Example: https://heydonto.com/terms-of-use/

  - `timestamp` (string, required)
    Timestamp when the error occurred (ISO 8601).
    Example: 2025-01-01T00:00:00.000Z

  - `statusCode` (number, required)
    HTTP status code indicating forbidden access.
    Example: 403

