---
title: "Update GPS location and detect travel status"
method: POST
path: "/api/location/update"
tags: ["Location"]
---

# Update GPS location and detect travel status

`POST /api/location/update`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/location/update`
- Auth: HTTP bearer

## Request body

- UpdateLocationDto
  - `latitude` number, required
  - `longitude` number, required
  - `accuracy` number
  - `locationName` string

## Response `200`

- unknown

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
