---
title: "Find work location categories"
method: GET
path: "/work-location-categories"
tags: ["work-location-categories"]
---

# Find work location categories

`GET /work-location-categories`

## Request

- Base URL: `https://api.hoorayhr.io`
- URL: `https://api.hoorayhr.io/work-location-categories`
- Auth: API key in header `authorization`

Retrieves a list of all resources from the service.

## Response `200`

success

- WorkLocationCategories[]
  - `id` integer: Unique id of the work location category
  - `name` string: Name of the work location category
  - `systemCategoryType` 'home', nullable: enum with valid system category types
  - `icon` 'home' | 'office' | 'office1' | 'office2' | 'location-car' | 'location': enum with valid icons for use in HoorayHR
  - `archivedAt` string, date-time, nullable: Date when the work location category was archived
  - `createdAt` string, date-time: Creation date of the item
  - `updatedAt` string, date-time: Last updated date of the item

## Other responses

- `401`: not authenticated
- `500`: general error

---

[API](https://skmtc.dev/hoorayhr/apis/hoorayhr-api-documentation.md) · [All operations](https://skmtc.dev/hoorayhr/apis/hoorayhr-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/hoorayhr/apis/hoorayhr-api-documentation/revisions/3adcd47cd827?raw)
