---
title: "Locate an asset"
method: PUT
path: "/v1/assets/{asset_id}/locate"
---

# Locate an asset

`PUT /v1/assets/{asset_id}/locate`

## Request

- Base URL: `https://api.gomotive.com`
- URL: `https://api.gomotive.com/v1/assets/{asset_id}/locate`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/gomotive/apis/motive/docs/v1/assets/:asset_id/locate/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `asset_id` integer, required

## Headers

- `X-API-KEY` string
- `X-User-Id` string

## Response `200`

200

- object
  - `asset_id` integer
  - `locate_status` string
  - `last_location` object
    - `latitude` number
    - `longitude` number
    - `timestamp` string

## Other responses

- `400`: 400
- `404`: 404
- `429`: 429

---

[API](https://skmtc.dev/gomotive/apis/motive.md) - [All operations](https://skmtc.dev/gomotive/apis/motive/llms.txt) - [OpenAPI document](https://skmtc.dev/gomotive/apis/motive/revisions/c71780e497f5?raw)
