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

# Create a booking limit pool

> Caps how many bookings each rotating host takes across the pool's round-robin event types. Set at least one interval. Requires permission to update the team's event types. If accessed using an OAuth access token, the `TEAM_EVENT_TYPE_WRITE` scope is required.



## OpenAPI

````yaml /api-reference/v2/openapi.json post /v2/teams/{teamId}/booking-limit-pools
openapi: 3.0.0
info:
  title: Cal.com API v2
  description: ''
  version: 1.0.0
  contact: {}
servers: []
security: []
tags: []
paths:
  /v2/teams/{teamId}/booking-limit-pools:
    post:
      tags:
        - Teams / Booking limit pools
      summary: Create a booking limit pool
      description: >-
        Caps how many bookings each rotating host takes across the pool's
        round-robin event types. Set at least one interval. Requires permission
        to update the team's event types. If accessed using an OAuth access
        token, the `TEAM_EVENT_TYPE_WRITE` scope is required.
      operationId: TeamsBookingLimitPoolsController_create
      parameters:
        - name: Authorization
          in: header
          description: >-
            value must be `Bearer <token>` where `<token>` is api key prefixed
            with cal_, managed user access token, or OAuth access token
          required: true
          schema:
            type: string
        - name: teamId
          required: true
          in: path
          description: >-
            The team's uuid (preferred), its short-uuid (Flickr Base58) form, or
            its numeric id.
          schema:
            anyOf:
              - type: string
              - type: number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBookingLimitPoolInput'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BookingLimitPoolResponseOutput'
components:
  schemas:
    CreateBookingLimitPoolInput:
      type: object
      properties:
        perDay:
          type: number
          nullable: true
          minimum: 1
          example: 2
        perWeek:
          type: number
          nullable: true
          minimum: 1
          example: 5
        perMonth:
          type: number
          nullable: true
          minimum: 1
        perYear:
          type: number
          nullable: true
          minimum: 1
        name:
          type: string
          minLength: 1
          example: Engineering interviews
        mode:
          enum:
            - SHARED
            - PER_EVENT
          type: string
          description: >-
            SHARED: each host has one allowance across every event in the pool.
            PER_EVENT: the same allowance applies to each event separately.
        eventTypeIds:
          uniqueItems: true
          minItems: 1
          maxItems: 100
          example:
            - 0bce7b70-d7f0-4e5f-bcce-2f41b6fd5116
            - 15314c7c-11a0-440d-9ae9-23593c193a2b
          description: >-
            Round-robin event types of the team. Each event type can be in one
            pool.
          type: array
          items:
            type: string
            format: uuid
      required:
        - name
        - mode
        - eventTypeIds
    BookingLimitPoolResponseOutput:
      type: object
      properties:
        status:
          type: string
          enum:
            - success
        data:
          $ref: '#/components/schemas/BookingLimitPoolOutput'
      required:
        - status
        - data
    BookingLimitPoolOutput:
      type: object
      properties:
        perDay:
          type: number
          nullable: true
          example: 4
        perWeek:
          type: number
          nullable: true
          example: 20
        perMonth:
          type: number
          example: 60
          nullable: true
        perYear:
          type: number
          nullable: true
          example: 500
        id:
          type: string
          format: uuid
        teamId:
          type: number
        name:
          type: string
        mode:
          enum:
            - SHARED
            - PER_EVENT
          type: string
        archived:
          type: boolean
          readOnly: true
          description: An archived pool is skipped by enforcement until it is restored.
        eventTypes:
          type: array
          items:
            $ref: '#/components/schemas/BookingLimitPoolEventTypeOutput'
      required:
        - perDay
        - perWeek
        - perMonth
        - perYear
        - id
        - teamId
        - name
        - mode
        - archived
        - eventTypes
    BookingLimitPoolEventTypeOutput:
      type: object
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
      required:
        - id
        - title

````

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