---
title: "User's last known location"
method: GET
path: "/me/location"
tags: ["me"]
---

# User's last known location

`GET /me/location`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/me/location`
- Auth: none declared
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/me/location/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the client's IP-based location. If no data is present, empty response will be yielded.

## Response `200`

Successful operation.

- MeUserLocationResponse
  - `city` string
  - `city_lat_long` string
  - `country_code` string
  - `country_name` string
  - `state` string

## Other responses

- `404`: Country with given ISO code not found
- `500`: Internal Server Error

---

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