# List locations

`GET /locations`

Base URL: `https://api.viewcy.com/2025_06`

## Parameters

- `page` (query, integer, optional) (example: `1`)
- `perPage` (query, integer, optional) (example: `1`)

## Responses

### 200 — Returns the owner's locations

- `data` (array)
  Items:
    - `object` (string)
    - `id` (string)
    - `name` (string)
    - `address` (string)
    - `city` (string)
    - `state` (string)
    - `stateCode` (string)
    - `country` (string)
    - `zipcode` (string)
    - `lat` (any)
    - `lng` (any)
    - `googlePlaceId` (any)
    - `createdAt` (string)
    - `updatedAt` (string)
- `object` (string)
- `page` (integer)
- `totalPages` (integer)
- `perPage` (integer)
- `totalCount` (integer)
- `hasNextPage` (boolean)

### 401 — Returns 401

- `object` (string)
- `status` (integer)
- `message` (string)

---
Full OpenAPI spec: https://developer.viewcy.com/openapi/2025_06_viewcy_api.yaml

Interactive docs: https://developer.viewcy.com/api/list-locations
