---
title: "Query Multiple Users Offices"
method: POST
path: "/v1/users/office/multi-query"
tags: ["Users"]
---

# Query Multiple Users Offices

`POST /v1/users/office/multi-query`

## Request

- Base URL: `https://api.avionte.com/front-office`
- URL: `https://api.avionte.com/front-office/v1/users/office/multi-query`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Returns office IDs for the specified users.

## Headers

- `RequestId` string, uuid: Unique request identifier in UUID format used to correlate request data to log entries and events.
- `FrontOfficeTenantId` integer
- `Tenant` string

## Request body

- IntegerSchema[]

## Response `200`

A list of offices for the specified users.

- UserOffices[]
  - `userId` integer: The identifier for the user.
  - `officeIds` integer[]: A list of IDs for user offices.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Access Denied
- `404`: Not found
- `405`: Unsupported method
- `406`: Unsupported format(s) indicated by Accept header
- `415`: Unsupported format(s) indicated by the Content-Type header
- `429`: Too many requests
- `500`: An unexpected error occurred
- `502`: Service Unavailable
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/avionte/apis/bold-front-office-api.md) - [All operations](https://skmtc.dev/avionte/apis/bold-front-office-api/llms.txt) - [OpenAPI document](https://skmtc.dev/avionte/apis/bold-front-office-api/revisions/bd5996cbaa0f?raw)
