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

# List bookings (available slots and appointments)

> Lists a customer's non-completed, non-cancelled bookings/appointments for an establishment via the connected scheduling provider.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/scheduling/{business_id}/bookings
openapi: 3.1.0
info:
  title: iZap API
  version: v1
  description: Public REST API for the iZap WhatsApp business messaging platform.
  contact:
    name: iZap API Support
    email: suporte@izap.ai
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.izap.ai
    description: Production
  - url: https://api-staging.izap.ai
    description: Staging
security:
  - bearerAuth: []
tags:
  - name: Auth
    description: Login and token refresh.
  - name: OAuth
    description: OAuth 2.1 / PKCE authorization for third-party and MCP clients.
  - name: Businesses
    description: Business profile, hours, menus, and chatbot configuration.
  - name: Chats
    description: Conversations, messages, and template sends.
  - name: Scheduling
    description: Customers, services, providers, and bookings (Trinks-backed).
  - name: WhatsApp Templates
    description: Manage and sync WhatsApp message templates.
  - name: Transmissions
    description: Bulk WhatsApp template broadcasts.
  - name: Me
    description: The authenticated user's own profile and active business.
paths:
  /api/v1/scheduling/{business_id}/bookings:
    get:
      tags:
        - Scheduling
      summary: List bookings (available slots and appointments)
      description: >-
        Lists a customer's non-completed, non-cancelled bookings/appointments
        for an establishment via the connected scheduling provider.
      operationId: listBookings
      parameters:
        - name: business_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: establishment_id
          in: query
          required: true
          schema:
            type: integer
        - name: customer_id
          in: query
          required: true
          schema:
            type: integer
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            default: 50
      responses:
        '200':
          description: Bookings page.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              example:
                data:
                  - id: 501
                    status: confirmed
                    customer:
                      id: 9001
                      name: Maria Silva
                    service:
                      id: 42
                      name: Corte de cabelo
                    provider:
                      id: 7
                      name: Ana
                    start_time: '2026-07-10T14:00:00'
                    duration: 30
                    value: 60
                page: 1
                total_pages: 1
                total_records: 1
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                detail: Not authenticated
components:
  schemas:
    Error:
      type: object
      properties:
        detail:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT access token obtained from POST /api/v1/auth/jwt/login, the OAuth
        token endpoint, or a business-scoped API token. Some
        Business/Chat/Template/Scheduling endpoints alternatively accept HTTP
        Basic credentials scoped to the business slug.

````