---
title: "Get filtered working hours"
method: GET
path: "/ccaas/1/working-hours"
tags: ["customer-engagement", "conversations", "working-hours"]
---

# Get filtered working hours

`GET /ccaas/1/working-hours`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/ccaas/1/working-hours`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Use this method to get a list of working hours with pagination and filtering options. Using filter is optional.
The result can be filtered by one or many optional filters described in the parameters.

## Query parameters

- `name` string
- `enabled` boolean
- `isDefault` boolean
- `createdAfter` string, date-time
- `createdBefore` string, date-time
- `updatedAfter` string, date-time
- `updatedBefore` string, date-time
- `limit` integer
- `page` integer
- `orderBy` string

## Response `200`

OK

- 25bc6165974db08bf3072efbf58365d643c5a11027c569c8010b72d1e1d5233fWorkingHoursResultPageApiResponse
  - `workingHours` 25bc6165974db08bf3072efbf58365d643c5a11027c569c8010b72d1e1d5233fWorkingHoursApiResponse[]
    - `id` string: Working hours Id.
    - `timezone` string, required: Timezone in which working hours apply. `TZ database name` from [IANA time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
    - `message` string, required: Message to be sent as an auto-reply message to the customer.
    - `workWeek` object: List of working hours work days. It must contain all days of the week with 3 parameters each: `startTime`, `endTime` and `enabled`.
      - `startTime` integer: Start time of the day in minutes after midnight.
      - `endTime` integer: End time of the day in minutes before midnight.
      - `enabled` boolean: Daily working hours enable/disable toggle.
    - `name` string, required: Working hours name.
    - `enabled` boolean: Working hours enable/disable toggle.
    - `isDefault` boolean: Default working hours.
    - `closeConversations` boolean: Close conversation created outside of working hours toggle.
    - `sendAwayMessageEveryOOWHPeriod` boolean
    - `holidays` 25bc6165974db08bf3072efbf58365d643c5a11027c569c8010b72d1e1d5233fHolidaysApiModel[]: List of working hours holidays.
      - `id` string: Holiday ID.
      - `name` string, required: Holiday name.
      - `startDate` string, date-time: Start date. Format: yyyy-MM-dd
      - `endDate` string, date-time: End date. Format: yyyy-MM-dd
      - `enabled` boolean: Holiday enable/disable toggle.
  - `pagination` 25bc6165974db08bf3072efbf58365d643c5a11027c569c8010b72d1e1d5233fPagination
    - `totalItems` integer
    - `page` integer
    - `limit` integer
    - `orderBy` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
