---
title: "Gets the current timestamp"
method: GET
path: "/v2/timestamp"
tags: ["Ingestion"]
---

# Gets the current timestamp

`GET /v2/timestamp`

Returns the current server time in seconds since the UNIX epoch.
The server time is used to check the validity of the OAuth 1.0 header of a device data ingestion request.
Devices must synchronise with the server time to avoid a clock skew.

> Note that in the data ingestion request the timestamp is specified in milliseconds.

## Headers

- `X-Request-Id` string, uuid

## Response `200`

OK

The server timestamp was successfully returned

- object
  - `timestamp` integer — Seconds elapsed since 1 January 1970 00:00:00 UTC.

## Other responses

- `400` — Bad request The request object is in an incorrect format or has values that are invalid or out of range. If available, further error details are provided in the response body.
- `401` — Unauthorized The request did not provide correct authentication details
- `403` — Forbidden The account does not have the correct privileges

---

[API](https://skmtc.net/here/apis/tracking.md) · [All operations](https://skmtc.net/here/apis/tracking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/here/tracking/versions/efa162f7023c/schema)
