---
title: "Return a list of offices."
method: GET
path: "/offices"
tags: ["Offices"]
---

# Return a list of offices.

`GET /offices`

Returns a list of the existing offices in Kenjo.

## Query parameters

- `name` string
- `companyId` string
- `calendarId` string
- `street` string
- `postalCode` string
- `city` string
- `country` string

## Headers

- `Authorization` string, required

## Response `200`

OK

- object[]
  - `_id` string — The Kenjo _id of the office.
  - `name` string — The name of the office.
  - `companyId` string — The Kenjo id of the company.
  - `calendarId` string — The Kenjo id of the calendar.
  - `street` string — The street of the office.
  - `postalCode` string — The postal code of the office.
  - `city` string — The city of the office.
  - `country` string — The country of the office in ISO code.

## Other responses

- `400` — BAD REQUEST. This is a wrong request in the client side due to invalid body or params.
- `401` — UNAUTHORIZED. The Authorization header is incorrect, not provided or the token expired.

---

[API](https://skmtc.net/kenjo/apis/kenjo-api.md) · [All operations](https://skmtc.net/kenjo/apis/kenjo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kenjo/kenjo-api/revisions/58772b78268e/schema)
