Getting Started
Add API Key
- Navigate to the Timetracking dashboard.
- Click on the Settings button along the header.
- Navigate to the Developers tab.
- Click Generate under the API Key.
The API key is a 32 character base64 string:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXURL
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/apiAuthorization
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 XXXXXXResponse 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.
| Status | Description |
|---|---|
| 200 | Successful request. |
| 400 | Check that the parameters were correct. |
| 401 | The API key used was missing. |
| 403 | The API key used was invalid. |
| 404 | The resource was not found. |
| 5xx | Indicates an error with Time Track Pro servers. |