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

# List bookable viewing slots

> Returns the slots a lead can book, derived from the account's weekly viewing availability minus anything already booked.



## OpenAPI

````yaml openapi-leads.json GET /v1/leads/viewings/slots
openapi: 3.1.0
info:
  title: Yorlet Leads API
  description: APIs for managing enquiries, qualification configurations, and viewings.
  version: 1.0.0
servers:
  - url: https://api.yorlet.com
    description: Production
  - url: https://api.yorlet.io
    description: Sandbox
security: []
paths:
  /v1/leads/viewings/slots:
    get:
      tags:
        - Leads Viewings
      summary: List bookable viewing slots
      description: >-
        Returns the slots a lead can book, derived from the account's weekly
        viewing availability minus anything already booked.
      operationId: leads_viewings_slots
      responses:
        '200':
          description: >-
            A object with a data property that contains an array of viewing
            slots.
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: number
                    description: Total number of items in the list.
                    example: 1
                  has_more:
                    type: boolean
                    description: Whether more items are available.
                    example: false
                  object:
                    type: string
                    enum:
                      - list
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        object:
                          type: string
                          enum:
                            - leads.viewing_slot
                        duration:
                          type: integer
                          description: How long the slot lasts, in minutes.
                        end_time:
                          type: integer
                          description: >-
                            When the slot ends. Measured in seconds since the
                            Unix epoch.
                        start_time:
                          type: integer
                          description: >-
                            When the slot starts. Measured in seconds since the
                            Unix epoch.
                      required:
                        - object
                        - duration
                        - end_time
                        - start_time
                required:
                  - count
                  - has_more
                  - object
                  - data
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API Key authentication. Use "Bearer YOUR_API_KEY".

````