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

> Get the organization-wide default office hours schedule. Use when reading the fallback business-hours coverage that applies when a conversation has no team-specific schedule.

# Get default



## OpenAPI

````yaml get /office-hours/default
openapi: 3.1.0
info:
  title: OpenCX API
  description: >

    OpenCX is an AI-powered, all-in-one platform for customer support and
    outbound communications.


    Use this API to manage your OpenCX organization's AI agents, actions,
    conversations, contacts, and more.


    To get started, generate a new API key from the dashboard.


    ## Authentication

    All API endpoints require authentication using a Bearer token. You can
    generate an API key from your OpenCX dashboard.


    ## Rate Limiting

    API requests are rate limited to ensure fair usage. The current limits are:

    - 100 requests per minute for standard endpoints

    - 1000 requests per minute for streaming endpoints


    ## Error Handling

    The API uses standard HTTP status codes and returns detailed error messages
    in the response body.
  version: 1.0-beta
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.open.cx
    description: Production
security:
  - bearerAuth: []
paths:
  /office-hours/default:
    get:
      summary: Get default office hours
      description: >-
        Get the organization-wide default office hours schedule. This is the
        fallback schedule used when a conversation is not assigned to a team
        with its own custom office hours. If no default has been configured yet,
        returns America/New_York with an empty shifts list (treated as 24/7).
      operationId: getDefaultOfficeHours
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefaultOfficeHoursResponseDto'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    DefaultOfficeHoursResponseDto:
      $schema: https://json-schema.org/draft/2020-12/schema
      $id: '#/components/schemas/DefaultOfficeHoursResponseDto'
      type: object
      properties:
        iana_timezone:
          type: string
          description: IANA timezone (e.g. "America/New_York", "Europe/London")
        shifts:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Shift ID
              day_of_week:
                type: string
                enum:
                  - everyday
                  - friday
                  - friday_and_saturday
                  - monday
                  - monday_to_friday
                  - saturday
                  - sunday
                  - sunday_and_monday
                  - sunday_to_thursday
                  - thursday
                  - tuesday
                  - wednesday
                description: >-
                  Day(s) of week: "monday", "tuesday", "wednesday", "thursday",
                  "friday", "saturday", "sunday", "everyday",
                  "monday_to_friday", "sunday_to_thursday",
                  "friday_and_saturday", "sunday_and_monday"
              start_time:
                type: string
                description: Start time in HH:mm:ss format (e.g. "09:00:00")
              end_time:
                type: string
                description: End time in HH:mm:ss format (e.g. "17:00:00")
            required:
              - id
              - day_of_week
              - start_time
              - end_time
            additionalProperties: false
          description: The time blocks when support is available
      required:
        - iana_timezone
        - shifts
      additionalProperties: false
    ErrorDto:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````