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

# Get apiv2organizations schedulebookings



## OpenAPI

````yaml https://api.osiro.com/doc get /api/v2/organizations/{orgId}/schedule/bookings
openapi: 3.0.0
info:
  title: osiro API
  version: 2.0.0
servers: []
security: []
tags:
  - name: Funnel
    description: Public funnel rendering, submission, MFA, and analytics.
  - name: Booking
    description: A lead's cancel and reschedule of their booking, via the manage link.
  - name: Training
    description: Org-scoped sales-training catalogs, sessions, and call records.
  - name: Attribution
    description: Cross-domain PostHog identity handoff for the marketing site.
  - name: Billing
    description: Org-scoped checkouts, plans, trials and the Stripe billing portal.
  - name: Leads
    description: Org-scoped lead reads and actions.
  - name: Ad copy
    description: Org-scoped ad guidelines and Meta ad copy generation.
paths:
  /api/v2/organizations/{orgId}/schedule/bookings:
    get:
      tags:
        - Schedule
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: orgId
          in: path
        - schema:
            type: string
            format: uuid
          required: false
          name: host
          in: query
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
          required: false
          name: include_past
          in: query
      responses:
        '200':
          description: >-
            Upcoming bookings, and past or cancelled ones with `include_past`;
            superseded by `bookings/list`
          content:
            application/json:
              schema:
                type: object
                properties:
                  upcoming:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        startAt:
                          type: string
                        endAt:
                          type: string
                        status:
                          type: string
                          enum:
                            - confirmed
                            - cancelled
                        cancelledAt:
                          type: string
                          nullable: true
                        cancelReason:
                          type: string
                          nullable: true
                        leadTimezone:
                          type: string
                        rescheduledFrom:
                          type: string
                          nullable: true
                        meetingJoinUrl:
                          type: string
                          nullable: true
                        leadId:
                          type: string
                        leadName:
                          type: string
                          nullable: true
                        host:
                          type: object
                          properties:
                            userId:
                              type: string
                            name:
                              type: string
                            timezone:
                              type: string
                          required:
                            - userId
                            - name
                            - timezone
                        eventType:
                          type: object
                          properties:
                            title:
                              type: string
                            locationKind:
                              type: string
                              enum:
                                - phone
                                - in_person
                                - link
                                - generated
                            locationValue:
                              type: string
                              nullable: true
                          required:
                            - title
                            - locationKind
                            - locationValue
                        canCancel:
                          type: boolean
                      required:
                        - id
                        - startAt
                        - endAt
                        - status
                        - cancelledAt
                        - cancelReason
                        - leadTimezone
                        - rescheduledFrom
                        - meetingJoinUrl
                        - leadId
                        - leadName
                        - host
                        - eventType
                        - canCancel
                  past:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        startAt:
                          type: string
                        endAt:
                          type: string
                        status:
                          type: string
                          enum:
                            - confirmed
                            - cancelled
                        cancelledAt:
                          type: string
                          nullable: true
                        cancelReason:
                          type: string
                          nullable: true
                        leadTimezone:
                          type: string
                        rescheduledFrom:
                          type: string
                          nullable: true
                        meetingJoinUrl:
                          type: string
                          nullable: true
                        leadId:
                          type: string
                        leadName:
                          type: string
                          nullable: true
                        host:
                          type: object
                          properties:
                            userId:
                              type: string
                            name:
                              type: string
                            timezone:
                              type: string
                          required:
                            - userId
                            - name
                            - timezone
                        eventType:
                          type: object
                          properties:
                            title:
                              type: string
                            locationKind:
                              type: string
                              enum:
                                - phone
                                - in_person
                                - link
                                - generated
                            locationValue:
                              type: string
                              nullable: true
                          required:
                            - title
                            - locationKind
                            - locationValue
                        canCancel:
                          type: boolean
                      required:
                        - id
                        - startAt
                        - endAt
                        - status
                        - cancelledAt
                        - cancelReason
                        - leadTimezone
                        - rescheduledFrom
                        - meetingJoinUrl
                        - leadId
                        - leadName
                        - host
                        - eventType
                        - canCancel
                required:
                  - upcoming
                  - past
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error

````

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