---
title: "Get list of locations"
method: GET
path: "/v3/classifications/locations"
tags: ["classifications"]
---

# Get list of locations

`GET /v3/classifications/locations`

Get a list of location objects. By default, you get 20 results on one page of results. Set `max` in your request to get up to 100 results on one page.

See [Search operations with lists](https://developer.bill.com/docs/search-op-with-lists) in the Guides section for filtering, sorting, and pagination examples.

## Query parameters

- `max` integer, nullable — Maximum number of results
- `sort` string, nullable — Field name and sort order. Both simple and compound sorting is available. The format is `sort={field_01}:{sort_order},{field_02}:{sort_order}`. **NOTE**: Sorting occurs in the specified order.
- `filters` string, nullable — Field name, operator, and value. Both simple and compound filtering is available. The format is `filters={field_01}:{op}:{value},{field_02}:{op}:{value}`.
- `page` string, nullable — Next page of results. When a list has multiple pages, the `nextPage` and `prevPage` values in the response enable you to navigate between the pages of results. Set `page` as the `nextPage` or `prevPage` value for navigation.

## Headers

- `sessionId` string, nullable — API session ID generated with `/v3/login`
- `devKey` string, nullable — Developer key generated with your BILL developer account

## Response `200`

Get list of locations response

- ListClassificationLocationResponseDto — Response from a list API request with paging references.
  - `nextPage` string
  - `prevPage` string
  - `results` ClassificationLocationResponseDto[]
    - `id` string — BILL-generated ID of the location. The value begins with `loc`.
    - `name` string — Location name
    - `shortName` string — Location short name
    - `description` string — Location description
    - `parentId` string — BILL-generated ID of the parent location. You can set this field if this location is a child object.
    - `archived` boolean — Set as `true` if the location is archived
    - `createdTime` string, date-time
    - `updatedTime` string, date-time — Updated date and time

## Other responses

- `4XX` — List of errors.
- `5XX` — List of errors.

---

[API](https://skmtc.net/bill/apis/bill-v3-api.md) · [All operations](https://skmtc.net/bill/apis/bill-v3-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bill/bill-v3-api/versions/0483350c434e/schema)
