Skip to content

Getting Started

Add API Key

  1. Navigate to the Timetracking dashboard.
  2. Click on the Settings button along the header.
  3. Navigate to the Developers tab.
  4. Click Generate under the API Key.

The API key is a 32 character base64 string:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

URL

The Timetracking API is built on REST principles. We enforce HTTPS in every request to improve data security, integrity, and privacy. The API does not support HTTP.

All requests contain the following base:

https://timetrack-2.web.app/api

Authorization

To authenticate you need to add an Authorization header with the contents of the header being Bearer XXXXXX where XXXXXX is your API Key.

Authorization: Bearer XXXXXX

Response codes

Timetracking uses standard HTTP codes to indicate the success or failure of your requests.

In general, 2xx HTTP codes correspond to success, 4xx codes are for user-related failures, and 5xx codes are for infrastructure issues.

StatusDescription
200Successful request.
400Check that the parameters were correct.
401The API key used was missing.
403The API key used was invalid.
404The resource was not found.
5xxIndicates an error with Time Track Pro servers.