---
title: "GET /offices/"
method: GET
path: "/offices/"
tags: ["offices"]
---

# GET /offices/

`GET /offices/`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/offices/`
- Auth: API key in header `Authorization`

## Query parameters

- `search` string
- `office_type` 'office' | 'client' | 'other'

## Response `200`

Request fulfilled, document follows

- BaseOfficeSchema[]
  - `id` integer
  - `name` string, required
  - `address` string, required
  - `latitude` number, required
  - `longitude` number, required
  - `contact_name` string
  - `contact_email` string, email
  - `contact_phone` unknown
  - `description` string, nullable
  - `office_approver_id` integer, nullable
  - `office_approver` BaseUser (unresolved $ref)
  - `office_type` 'office' | 'client' | 'other', required
  - `created_dt` string, date-time
  - `group_id` integer, nullable
  - `country_code` unknown
  - `city_name` unknown
  - `has_policy` boolean
  - `state_name` unknown
  - `users_count` unknown

## Other responses

- `422`: Success

---

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