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

# Get all users availabilities

> Retrieves all availability slots for users in the authenticated company. Each entry includes the user, start and end times, and timezone. Useful for scheduling, calendar display, or managing user availability.



## OpenAPI

````yaml GET /2023-11/admin/availabilities
openapi: 3.0.3
info:
  title: Genuka V2 - API
  version: 1.0.0
  contact: {}
servers:
  - url: https://api-staging.genuka.com
  - url: https://api.genuka.com
security:
  - bearerAuth: []
tags:
  - name: Public Routes
  - name: Pages
  - name: Collections
  - name: Shops
  - name: Products
  - name: Articles
  - name: Discounts
  - name: Blogs
  - name: Company
  - name: Review
    description: |-
      ``` json
      {
      "title": "",
      "quantity": "",
      "product_variant": "",
      "date": "",
      "company_id": "",
      "shops": []
      }

       ```
  - name: Private Routes
  - name: Authentication
  - name: Apps
  - name: Accounting
  - name: Addresses
  - name: Customer
  - name: Analytics
  - name: Articles1
  - name: Availabilities
  - name: API Keys
  - name: Orders
  - name: Bills
  - name: Blogs1
  - name: Calendar Events
  - name: Collections1
  - name: Company1
  - name: Customers
  - name: Deliveries
    description: |-
      ``` json
      {
      "title": "",
      "quantity": "",
      "product_variant": "",
      "date": "",
      "company_id": "",
      "shops": []
      }

       ```
  - name: Discount
  - name: Domains
    description: |-
      ``` json
      {
      "domain": "",
      "company_id": ""
      }

       ```
  - name: Analytics1
  - name: Orders1
  - name: Payments
  - name: Pages1
  - name: Production
  - name: Bill of Materials
  - name: Payments1
  - name: Payments Methods
  - name: Workflows
  - name: New Folder
  - name: Wallet
  - name: Marketing
  - name: Campaigns
  - name: Templates
  - name: Products1
  - name: Product Variants
  - name: Analytics12
  - name: Services
    description: >-
      Services are "Products" that have a duration in minutes, a buffer time and
      a list of users able to provide the service.
  - name: SupplierProducts
  - name: Shops1
    description: >-
      Shops are sort of subsidiary of companies. A Company can have many Shops.
      Each shop can have 0 or more .  
        
      But all of them are properties of a Company.
  - name: Warehouses
    description: >-
      Warehouses are places where stocks are placed.


      Shop which are physical or virtual point of sales can be attached to one
      or many warehouses to take their products.
  - name: Stocks
    description: |-
      ``` json
      {
      "title": "",
      "quantity": "",
      "product_variant": "",
      "date": "",
      "company_id": "",
      "shops": []
      }

       ```
  - name: Review1
    description: |-
      ``` json
      {
      "title": "",
      "quantity": "",
      "product_variant": "",
      "date": "",
      "company_id": "",
      "shops": []
      }

       ```
  - name: ReviewCriterion
    description: |-
      ``` json
      {
      "title": "",
      "quantity": "",
      "product_variant": "",
      "date": "",
      "company_id": "",
      "shops": []
      }

       ```
  - name: StockMovements
    description: |-
      ``` json
      {
      "title": "",
      "quantity": "",
      "product_variant": "",
      "date": "",
      "company_id": "",
      "shops": []
      }

       ```
  - name: Suppliers
  - name: Treasury Accounts
    description: Comptes de trésorerie
  - name: Users
  - name: Wrapped
  - name: Returns
  - name: Webhooks
  - name: Customer Routes
  - name: Authentication1
  - name: Addresses1
  - name: Orders12
  - name: Payments12
  - name: Review12
    description: |-
      ``` json
      {
      "title": "",
      "quantity": "",
      "product_variant": "",
      "date": "",
      "company_id": "",
      "shops": []
      }

       ```
  - name: Developer Routes
  - name: Authentication12
  - name: Apps1
  - name: Apps Shortcut
  - name: Products12
    description: Developer can access a company product through its app
paths:
  /2023-11/admin/availabilities:
    get:
      tags:
        - Private Routes
        - Availabilities
      summary: List all
      description: List all
      operationId: listAll
      parameters:
        - name: x-company
          in: header
          schema:
            type: string
            example: '{{companyId}}'
        - name: user_id
          in: query
          schema:
            type: string
            example: '{{userId}}'
      requestBody:
        content:
          application/json:
            examples:
              List all:
                value: ''
      responses:
        '200':
          description: 200 / 200
          headers:
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Connection:
              schema:
                type: string
                example: keep-alive
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Date:
              schema:
                type: string
                example: Mon, 13 Oct 2025 09:31:21 GMT
            Server:
              schema:
                type: string
                example: nginx/1.18.0 (Ubuntu)
            Transfer-Encoding:
              schema:
                type: string
                example: chunked
            Vary:
              schema:
                type: string
                example: Origin
            X-RateLimit-Limit:
              schema:
                type: string
                example: '6000'
            X-RateLimit-Remaining:
              schema:
                type: string
                example: '5998'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        company_id:
                          type: string
                          example: 01hqydxwtxdj3kmzp3bz7jk73g
                        created_at:
                          type: string
                          example: '2025-10-04T15:35:29.000000Z'
                        day_of_week:
                          type: number
                          example: 1
                        end_time:
                          type: string
                          example: '11:00:00'
                        id:
                          type: string
                          example: 01k6qxt95bq738sn4d5n4h919v
                        metadata:
                          nullable: true
                          example: null
                        start_time:
                          type: string
                          example: '07:00:00'
                        timezone:
                          type: string
                          example: Africa/Douala
                        updated_at:
                          type: string
                          example: '2025-10-04T15:35:29.000000Z'
                        user_id:
                          type: string
                          example: 01k1amyqgjje8sknkzpm78qv6x
                    example:
                      - company_id: 01hqydxwtxdj3kmzp3bz7jk73g
                        created_at: '2025-10-04T15:35:29.000000Z'
                        day_of_week: 1
                        end_time: '11:00:00'
                        id: 01k6qxt95bq738sn4d5n4h919v
                        metadata: null
                        start_time: '07:00:00'
                        timezone: Africa/Douala
                        updated_at: '2025-10-04T15:35:29.000000Z'
                        user_id: 01k1amyqgjje8sknkzpm78qv6x
                      - company_id: 01hqydxwtxdj3kmzp3bz7jk73g
                        created_at: '2025-10-04T15:35:29.000000Z'
                        day_of_week: 1
                        end_time: '19:00:00'
                        id: 01k6qxt95gm71d1hg98zx72rqw
                        metadata: null
                        start_time: '11:00:00'
                        timezone: Africa/Douala
                        updated_at: '2025-10-04T15:35:29.000000Z'
                        user_id: 01k1amyqgjje8sknkzpm78qv6x
                  message:
                    type: string
                    example: Availabilities retrieved successfully
                  status:
                    type: boolean
                    example: true
              examples:
                '200':
                  value:
                    data:
                      - company_id: 01hqydxwtxdj3kmzp3bz7jk73g
                        created_at: '2025-10-13T09:25:31.000000Z'
                        day_of_week: 1
                        end_time: '18:00:00'
                        id: 01k7ee7ancg9qvc5xxt77mcwsd
                        metadata: null
                        start_time: '08:00:00'
                        timezone: UTC
                        updated_at: '2025-10-13T09:25:31.000000Z'
                        user_id: 01k7ee7anat9j4bn5v71v70qck
                      - company_id: 01hqydxwtxdj3kmzp3bz7jk73g
                        created_at: '2025-10-13T09:25:31.000000Z'
                        day_of_week: 2
                        end_time: '18:00:00'
                        id: 01k7ee7anem9bzhj7k2e3xmj4n
                        metadata: null
                        start_time: '08:00:00'
                        timezone: UTC
                        updated_at: '2025-10-13T09:25:31.000000Z'
                        user_id: 01k7ee7anat9j4bn5v71v70qck
                      - company_id: 01hqydxwtxdj3kmzp3bz7jk73g
                        created_at: '2025-10-13T09:25:31.000000Z'
                        day_of_week: 3
                        end_time: '18:00:00'
                        id: 01k7ee7anf4edwngdsf4dkc0nd
                        metadata: null
                        start_time: '08:00:00'
                        timezone: UTC
                        updated_at: '2025-10-13T09:25:31.000000Z'
                        user_id: 01k7ee7anat9j4bn5v71v70qck
                      - company_id: 01hqydxwtxdj3kmzp3bz7jk73g
                        created_at: '2025-10-13T09:25:31.000000Z'
                        day_of_week: 4
                        end_time: '18:00:00'
                        id: 01k7ee7anhffm7f2a4cgj2a7bs
                        metadata: null
                        start_time: '08:00:00'
                        timezone: UTC
                        updated_at: '2025-10-13T09:25:31.000000Z'
                        user_id: 01k7ee7anat9j4bn5v71v70qck
                      - company_id: 01hqydxwtxdj3kmzp3bz7jk73g
                        created_at: '2025-10-13T09:25:31.000000Z'
                        day_of_week: 5
                        end_time: '18:00:00'
                        id: 01k7ee7anjy0xhsvncbexac189
                        metadata: null
                        start_time: '08:00:00'
                        timezone: UTC
                        updated_at: '2025-10-13T09:25:31.000000Z'
                        user_id: 01k7ee7anat9j4bn5v71v70qck
                    message: Availabilities retrieved successfully
                    status: true
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````