---
title: "Get full day route for a resource"
method: GET
path: "/v1/resources/{resourceId}/location-history"
tags: ["Location History"]
---

# Get full day route for a resource

`GET /v1/resources/{resourceId}/location-history`

## Request

- Base URL: `https://api.workwing.io`
- URL: `https://api.workwing.io/v1/resources/{resourceId}/location-history`
- Auth: HTTP bearer

Returns all timestamped lat/lng points recorded for a resource on a given date. This is the engineer's live position, for your own team only. Do not show it to customers: for a customer-facing tracking page use GET /v1/jobs/{jobId}/tracking, which returns a rough location that is safe to share.

## Path parameters

- `resourceId` string, uuid, required

## Query parameters

- `date` string, required

## Response `200`

Points in time order

- object: Points in time order
  - `data` object[], required
    - `latitude` number, required
    - `longitude` number, required
    - `accuracy` number, nullable, required: Reported accuracy radius in metres
    - `recorded_at` string, date-time, required
  - `meta` object, required
    - `request_id` string, required
    - `timestamp` string, date-time, required
    - `count` integer, required: Number of items in data

---

[API](https://skmtc.dev/workwing/apis/workwing-api.md) · [All operations](https://skmtc.dev/workwing/apis/workwing-api/llms.txt) · [OpenAPI document](https://skmtc.dev/workwing/apis/workwing-api/revisions/54bb14368a35?raw)
