---
title: "Get account locations"
method: GET
path: "/v2.0/account/locations"
tags: ["Account"]
---

# Get account locations

`GET /v2.0/account/locations`

## Request

- Base URL: `https://api.freightview.dev`
- URL: `https://api.freightview.dev/v2.0/account/locations`
- Auth: OAuth 2 (client credentials, token URL `/v2.0/auth/token`)

Retrieve a list of locations configured for the account. The returned `locationId` values can be used to filter shipments by location.

## Response `200`

Success

- object
  - `locations` ExternalAccountLocationDTO[]
    - `locationId` string, required: The unique identifier for the location.
    - `address` string, required: The street address of the location.
    - `city` string, required: The city of the location.
    - `state` string, required: The state or province of the location.
    - `postalCode` string, required: The postal code of the location.
    - `country` string, required: The country of the location.
    - `timezone` string: The timezone of the location.
    - `lat` number: The latitude coordinate of the location.
    - `lng` number: The longitude coordinate of the location.

## Other responses

- `401`: Unauthorized
- `402`: Payment Required
- `429`: Rate Limit Exceeded
- `500`: Internal Server Error

---

[API](https://skmtc.dev/freightview/apis/freightview-api-v2-0.md) · [All operations](https://skmtc.dev/freightview/apis/freightview-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc.dev/freightview/apis/freightview-api-v2-0/revisions/8f35f3ad0a29?raw)
