---
title: "Verify your API token"
method: GET
path: "/ping"
tags: ["Getting started"]
---

# Verify your API token

`GET /ping`

## Request

- Base URL: `https://timelodge.com/api/v1`
- URL: `https://timelodge.com/api/v1/ping`
- Auth: HTTP bearer

A side-effect-free request for checking credentials, connectivity, and the selected workspace.

## Response `200`

The token is valid.

- PingResponse
  - `data` object, required
    - `ok` boolean, required
    - `workspace_id` integer, required
    - `environment` string, required

## Other responses

- `401`: Missing or invalid token.
- `429`: Rate limit exceeded.

---

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