HighLevel Availability API

Documentation for Calendars API

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /calendars/schedules/search List a user's availability schedules · List user availability schedule #
Ask an LLM
“Which calendars is a given user available on?”
“Can I filter a user's availability by location and calendar?”
Tell an agent
List availability schedules for user {userId} at location {locationId}.
Show {limit} availability schedules for user {userId} in location {locationId} on calendar {calendarId}.
GET /calendars/schedules/{id} Get a user availability schedule · Get user availability schedule #
Ask an LLM
“What rules and timezone does a specific availability schedule use?”
“Can I look up one schedule by its ID?”
Tell an agent
Get availability schedule {id}.
Show the rules and timezone of schedule {id}.
PUT /calendars/schedules/{id} Update a user availability schedule · Update user availability schedule #
Ask an LLM
“Can I change the rules or timezone of an existing availability schedule?”
“Is it possible to rename a schedule without touching its rules?”
Tell an agent
Update schedule {id} rules to {rules} in timezone {timezone}.
Rename schedule {id} to {name}.
DELETE /calendars/schedules/{id} Delete a user availability schedule · Delete user availability schedule #
Ask an LLM
“Can I permanently remove an availability schedule?”
“What happens to a schedule's rules when I delete it?”
Tell an agent destructive · confirm first
Delete availability schedule {id}.
Permanently remove schedule {id} and its rules.
POST /calendars/schedules Create a user availability schedule · Create user availability schedule #
Ask an LLM
“How do I create a new availability schedule for a user?”
“What do I need to set up a schedule, like rules and timezone?”
Tell an agent
Create availability schedule {name} for user {userId} at location {locationId} in timezone {timezone}.
Create schedule {name} with rules {rules} for user {userId} at location {locationId}, timezone {timezone}.
PUT /calendars/schedules/{id}/associations/{calendarId} Apply a schedule to a calendar · Apply user availability schedule to a calendar #
Ask an LLM
“How do I make an availability schedule apply to a team calendar?”
“Can I attach a calendar to an existing schedule?”
Tell an agent
Apply schedule {id} to calendar {calendarId}.
Add calendar {calendarId} to availability schedule {id}.
DELETE /calendars/schedules/{id}/associations/{calendarId} Remove a schedule from a calendar · Remove user availability schedule from a calendar #
Ask an LLM
“How do I stop an availability schedule from applying to a calendar?”
“Can I detach a calendar from a schedule?”
Tell an agent destructive · confirm first
Remove calendar {calendarId} from schedule {id}.
Detach calendar {calendarId} from availability schedule {id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/highlevel:highlevel-availability-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

highlevel-availability-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Calendars Availability API
  description: Documentation for Calendars API
  version: '1.0'
  contact: {}
servers:
- url: https://services.leadconnectorhq.com
tags:
- name: Availability
  description: Documentation for Calendars API
paths:
  /calendars/schedules/search:
    get:
      operationId: getAllSchedules
      summary: List user availability schedule
      description: Retrieve user availability schedules based on various filters including location, calendar, and user. Supports pagination.
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-04-15'
      - name: locationId
        required: true
        in: query
        description: Location ID to filter schedules by
        schema:
          example: IkqiJlXJ7o9h61tCHHod
          type: string
      - name: userId
        required: true
        in: query
        description: User ID to filter schedules by specific user
        schema:
          example: IkqiJlXJ7o9h61tCHHod
          type: string
      - name: calendarId
        required: false
        in: query
        description: Calendar ID for filtering schedules by specific calendar
        schema:
          example: WvVX9LpvlBO6K506xLbp
          type: string
      - name: skip
        required: false
        in: query
        description: Number of items to skip for pagination
        schema:
          minimum: 0
          default: 0
          example: 0
          type: number
      - name: limit
        required: false
        in: query
        description: Maximum number of items to return (max 500)
        schema:
          minimum: 1
          maximum: 500
          default: 50
          example: 50
          type: number
      responses:
        '200':
          description: Schedules retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAllSchedulesResponseDTO'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: User not authenticated
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
      tags:
      - Availability
      security:
      - bearer:
        - calendars.readonly
  /calendars/schedules/{id}:
    get:
      operationId: getScheduleById
      summary: Get user availability schedule
      description: Retrieve a specific schedule by its unique identifier. Returns detailed information including rules, timezone, and associated calendars/users.
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-04-15'
      - name: id
        required: true
        in: path
        description: Unique identifier of the schedule
        schema:
          example: IkqiJlXJ7o9h61tCHHod
          type: string
      responses:
        '200':
          description: Schedule found and retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleResponseDTO'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: User not authenticated
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '404':
          description: Schedule with the specified ID was not found
      tags:
      - Availability
      security:
      - bearer:
        - calendars.readonly
    put:
      operationId: updateSchedule
      summary: Update user availability schedule
      description: Modify an existing schedule by updating its rules, timezone, and name All fields are optional - only provided fields will be updated.
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-04-15'
      - name: id
        required: true
        in: path
        description: Unique identifier of the schedule to update
        schema:
          example: sch123def456ghi789
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateScheduleDTO'
      responses:
        '200':
          description: Schedule updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleResponseDTO'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: User not authenticated
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '404':
          description: Schedule with the specified ID was not found
        '422':
          description: Validation errors in schedule rules or conflicting data
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      tags:
      - Availability
      security:
      - bearer:
        - calendars.write
    delete:
      operationId: deleteSchedule
      summary: Delete user availability schedule
      description: Permanently remove a schedule and all its associated rules. This action cannot be undone.
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-04-15'
      - name: id
        required: true
        in: path
        description: Unique identifier of the schedule to delete
        schema:
          example: sch123def456ghi789
          type: string
      responses:
        '200':
          description: Schedule deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Whether the deletion was successful
                    example: true
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: User not authenticated
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '404':
          description: Schedule with the specified ID was not found
      tags:
      - Availability
      security:
      - bearer:
        - calendars.write
  /calendars/schedules:
    post:
      operationId: createSchedule
      summary: Create user availability schedule
      description: Create new schedule with specified rules, timezone, location, user and calendar associations.
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-04-15'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateScheduleDTO'
      responses:
        '201':
          description: Schedule created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleResponseDTO'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: User not authenticated
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Validation errors in schedule rules or conflicting data
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      tags:
      - Availability
      security:
      - bearer:
        - calendars.write
  /calendars/schedules/{id}/associations/{calendarId}:
    put:
      operationId: add-calendar-to-schedule
      summary: Apply user availability schedule to a calendar
      description: Associates a calendar with the given schedule by adding the calendarId to a schedule
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-04-15'
      - name: id
        required: true
        in: path
        description: Unique identifier of the schedule
        schema:
          example: IkqiJlXJ7o9h61tCHHod
          type: string
      - name: calendarId
        required: true
        in: path
        description: Unique identifier of the team calendar to add to the schedule
        schema:
          example: WvVX9LpvlBO6K506xLbp
          type: string
      responses:
        '200':
          description: Calendar successfully added to schedule
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
        '400':
          description: Schedule and calendar must belong to the same location
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: User not authenticated
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '404':
          description: Schedule or calendar not found
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
      tags:
      - Availability
      security:
      - bearer:
        - calendars.write
    delete:
      operationId: remove-calendar-from-schedule
      summary: Remove user availability schedule from a calendar
      description: Removes the association between a team calendar and the given schedule by removing the calendarId from the schedule
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-04-15'
      - name: id
        required: true
        in: path
        description: Unique identifier of the schedule
        schema:
          example: IkqiJlXJ7o9h61tCHHod
          type: string
      - name: calendarId
        required: true
        in: path
        description: Unique identifier of the calendar to remove from the schedule
        schema:
          example: WvVX9LpvlBO6K506xLbp
          type: string
      responses:
        '200':
          description: Calendar successfully removed from schedule
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
        '400':
          description: Schedule and calendar must belong to the same location
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: User not authenticated
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '404':
          description: Schedule or calendar not found
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
      tags:
      - Availability
      security:
      - bearer:
        - calendars.write
components:
  schemas:
    ScheduleObjectResponseDTO:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the schedule
          example: IkqiJlXJ7o9h61tCHHod
        name:
          type: string
          description: Human-readable name for the schedule
          example: Business Hours Schedule
        locationId:
          type: string
          description: Location ID where this schedule applies
          example: IkqiJlXJ7o9h61tCHHod
        rules:
          description: Schedule rules defining when the schedule is active
          type: array
          items:
            $ref: '#/components/schemas/ScheduleRuleDTO'
        timezone:
          type: string
          description: Timezone for the schedule (IANA timezone identifier)
          example: America/New_York
        dateAdded:
          type: string
          description: ISO date string when the schedule was created
          example: '2023-01-15T10:30:00.000Z'
        dateUpdated:
          type: string
          description: ISO date string when the schedule was last updated
          example: '2023-01-20T14:45:00.000Z'
        userId:
          type: string
          description: User ID associated with the schedule
          example: IkqiJlXJ7o9h61tCHHod
        calendarIds:
          description: Calendar IDs associated with the schedule
          type: array
          items:
            type: string
        deleted:
          type: boolean
          description: Whether the schedule has been deleted
          example: false
      required:
      - id
      - name
      - locationId
      - rules
      - timezone
      - dateAdded
      - dateUpdated
      - userId
      - deleted
    GetAllSchedulesResponseDTO:
      type: object
      properties:
        schedules:
          description: Array of schedules
          type: array
          items:
            $ref: '#/components/schemas/ScheduleObjectResponseDTO'
      required:
      - schedules
    UpdateScheduleDTO:
      type: object
      properties:
        name:
          type: string
          description: Human-readable name for the schedule
          example: Updated Business Hours
        rules:
          description: Updated schedule rules defining when the schedule is active
          example:
          - type: wday
            day: monday
            intervals:
            - from: 08:00
              to: '18:00'
          type: array
          items:
            $ref: '#/components/schemas/ScheduleRuleDTO'
        timezone:
          type: string
          description: Updated timezone for the schedule (IANA timezone identifier)
          example: America/Los_Angeles
          pattern: ^[A-Za-z_]+/[A-Za-z_]+$
    CreateScheduleDTO:
      type: object
      properties:
        rules:
          description: Schedule rules defining when the schedule is active
          example:
          - type: wday
            day: monday
            intervals:
            - from: 09:00
              to: '17:00'
          type: array
          items:
            $ref: '#/components/schemas/ScheduleRuleDTO'
        timezone:
          type: string
          description: Timezone for the schedule (IANA timezone identifier)
          example: America/New_York
          pattern: ^[A-Za-z_]+/[A-Za-z_]+$
        locationId:
          type: string
          description: Location ID where this schedule applies
          example: IkqiJlXJ7o9h61tCHHod
        name:
          type: string
          description: Human-readable name for the schedule
          example: Business Hours Schedule
        userId:
          type: string
          description: User ID associated with the schedule
          example: IkqiJlXJ7o9h61tCHHod
        calendarIds:
          description: Calendar IDs associated with the schedule
          example:
          - WvVX9LpvlBO6K506xLbp
          - XyZ8MnQrStUvWxYzAbCdEf
          type: array
          items:
            type: string
      required:
      - timezone
      - locationId
      - name
      - userId
    ScheduleResponseDTO:
      type: object
      properties:
        schedule:
          description: Schedule
          allOf:
          - $ref: '#/components/schemas/ScheduleObjectResponseDTO'
      required:
      - schedule
    ScheduleIntervalDTO:
      type: object
      properties:
        from:
          type: string
          description: Start time in HH:MM format (24-hour format)
          example: 09:00
          pattern: ^([01]?[0-9]|2[0-3]):[0-5][0-9]$
        to:
          type: string
          description: End time in HH:MM format (24-hour format)
          example: '17:00'
          pattern: ^([01]?[0-9]|2[0-3]):[0-5][0-9]$
      required:
      - from
      - to
    ScheduleRuleDTO:
      type: object
      properties:
        type:
          type: string
          enum:
          - wday
          - date
          description: Type of schedule rule - weekday (recurring) or date (specific date)
          example: wday
        intervals:
          description: Time intervals for the rule (e.g., 9 AM to 5 PM)
          example:
          - from: 09:00
            to: '17:00'
          type: array
          items:
            $ref: '#/components/schemas/ScheduleIntervalDTO'
        date:
          type: string
          description: Specific date in YYYY-MM-DD format (only for date-type rules)
          example: '2023-04-15'
          pattern: ^\d{4}-\d{2}-\d{2}$
        day:
          type: string
          enum:
          - sunday
          - monday
          - tuesday
          - wednesday
          - thursday
          - friday
          - saturday
          description: Day of week (only for weekday-type rules)
          example: monday
      required:
      - type
      - intervals
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
      type: http
    Location-Access:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
      type: http
    Location-Access-Only:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Sub-Account.
      type: http
    Agency-Access:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Agency (OR) Private Integration Token of Agency.
      type: http
    Agency-Access-Only:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Agency.
      type: http
x-tagGroups:
  name: Calendars
  tags:
  - Calendars
  - Calendar Groups
  - Calendar Events
  - Appointment Notes
  - 'Calendar Resources: Rooms & Equipments'
  - Calendar Notifications
  - Availability