How to Use Time Doctor API
Note: Time Doctor API is available in the Premium Plan and can be accessed by all user roles. Access through the API is restricted to the same permissions available in the web app for each role.
TL;DR
-
Access the API via Time Doctor API documentation.
-
Supported methods: GET, POST, PUT, DELETE.
-
Authenticate using
Authorization: JWT {token}
-
Generate tokens through the Login process.
-
Tokens expire after six months.
-
API responses are restricted by the caller’s role/visibility.
How to Use Time Doctor API
The Time Doctor API allows secure access to company and user data within the Time Doctor account. Use it to retrieve information, create entries, and manage data programmatically.
Supported Methods
-
GET – Retrieve data
-
POST – Create new data
-
PUT – Update existing data
-
DELETE – Remove data
Accessing the API
Go to the Time Doctor API documentation for detailed reference material.
Authentication Token
-
Generate an authentication token through the Login endpoint.
-
Use the following header format in all requests:
Authorization: JWT {token}
-
Tokens expire after six months. Generate a new token when expired.
Permissions and Role Limitations
API data access is restricted to the same visibility and permissions as available in the Time Doctor web app for each user role. For example, a Regular User cannot access Admin-only data.
Base URL
All API calls must be directed through the official documentation portal: https://timedoctor.redoc.ly
Find the FAQ section for the API here.
Should there be any inconsistencies or concerns regarding the article, contact support@timedoctor.com for prompt assistance.