---
title: "View working hour labels"
method: GET
path: "/working_hour_labels"
tags: ["Working Hours"]
---

# View working hour labels

`GET /working_hour_labels`

## Request

- Base URL: `https://nexhealth.info`
- URL: `https://nexhealth.info/working_hour_labels`
- Auth: API key in header `Authorization`

This endpoint returns a list of Working Hour Labels, narrowed down by the optional filters configured.

## Query parameters

- `subdomain` string, required
- `location_id` integer
- `search_name` string
- `active` boolean
- `start_cursor` string
- `end_cursor` string
- `per_page` integer

## Headers

- `Nex-Api-Version` string, required

## Response `200`

Successful

- APIV20240412EntitiesWorkingHourLabelCollectionResponseWithCursor: API_V20240412_Entities_WorkingHourLabel_Collection_Response_WithCursor model
  - `code` boolean: Indicates the success or failure of the request
  - `description` string: Additional context on the request to help with debugging.
  - `error` string[]: Any errors that occur during the execution of the request.
  - `data` APIV20240412EntitiesWorkingHourLabel[]
    - `id` integer: Resource id
    - `location_id` integer, nullable: The location ID
    - `name` string: The name for working hour label
  - `page_info` object: Pagination information that can be used for fetching previous and next pages.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/nexhealth/apis/nexhealth-api.md) - [All operations](https://skmtc.dev/nexhealth/apis/nexhealth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexhealth/apis/nexhealth-api/revisions/a180e830b672?raw)
