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

# Get team member booking limits

> Get the booking limits set for a team member under **Self > Booking limits**. These apply across all of their scheduling links.

> [!NOTE]
>
> Replace `{your-subdomain}` with your workspace’s subdomain. \
> Learn how to find your subdomain in [Workspace subdomain](https://apidocs.neetocal.com/api/workspace-subdomain.md).


## OpenAPI

````yaml bundled/booking-limits.yaml GET /booking-limits
openapi: 3.0.3
info:
  title: NeetoCal Booking Limits APIs
  version: 2.0.0
servers:
  - description: NeetoCal APIs
    url: https://{your-subdomain}.neetocal.com/api/external/v2
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/api/workspace-subdomain).
security: []
tags:
  - name: Booking limits
    description: >-
      APIs to read and set how many bookings a team member or a scheduling link
      can take.
paths:
  /booking-limits:
    get:
      tags:
        - Booking limits
      summary: Get team member booking limits
      description: >-
        Get the booking limits set for a team member under **Self > Booking
        limits**. These apply across all of their scheduling links.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - in: query
          name: email
          description: Email of the team member.
          required: true
          schema:
            type: string
          example: oliver@example.com
      responses:
        '200':
          description: OK - Request succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/team_member_booking_limits'
        '404':
          description: Not found - No team member with this email.
        '422':
          description: Unprocessable entity - `email` is missing.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/booking_limits_error'
              example:
                error: >-
                  Pass the email of the team member whose booking limits you
                  want
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/api/authentication) for more information.
      required: true
      schema:
        type: string
  schemas:
    team_member_booking_limits:
      type: object
      properties:
        email:
          type: string
          description: Email of the team member.
          example: oliver@example.com
        booking_limits:
          type: array
          items:
            $ref: '#/components/schemas/booking_limit'
      example:
        email: oliver@example.com
        booking_limits:
          - period: day
            limit: null
            limits_by_weekday:
              - days:
                  - Monday
                  - Tuesday
                  - Wednesday
                limit: 3
              - days:
                  - Friday
                limit: 1
          - period: week
            limit: 10
            limits_by_weekday: []
    booking_limits_error:
      type: object
      properties:
        error:
          type: string
          example: Give at most one limit per period; week appears more than once
    booking_limit:
      type: object
      properties:
        period:
          type: string
          enum:
            - day
            - week
            - month
            - total
          description: >-
            Period the limit applies to. `total` caps all bookings of a
            scheduling link and isn't available for team members.
          example: week
        limit:
          type: integer
          nullable: true
          minimum: 0
          maximum: 9999
          description: >-
            Maximum number of bookings in the period. Null when
            `limits_by_weekday` is set.
          example: 10
        limits_by_weekday:
          type: array
          description: >-
            Different daily limits for different days of the week. Only for the
            `day` period, and used instead of `limit`. Empty when the period has
            a single limit.
          items:
            $ref: '#/components/schemas/weekday_limit'
    weekday_limit:
      type: object
      required:
        - days
        - limit
      properties:
        days:
          type: array
          minItems: 1
          items:
            type: string
            enum:
              - Sunday
              - Monday
              - Tuesday
              - Wednesday
              - Thursday
              - Friday
              - Saturday
          description: >-
            Days of the week this limit applies to. A day can appear in only one
            entry.
          example:
            - Monday
            - Tuesday
        limit:
          type: integer
          minimum: 0
          maximum: 9999
          description: Maximum number of bookings on each of these days.
          example: 2

````

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