Getting Started with the API
Connect your existing ATS, CRM, or payroll system to TempClock via the REST API.
Before You Start
Make sure you have everything you need to get up and running.
Before you start
- A TempClock account with Admin access
- An API key provided to you by TempClock (see below)
- A tool for making HTTP requests — curl, Postman, or your programming language of choice
- Basic understanding of REST APIs and JSON
The API lets your existing platforms pull timesheet data, manage workers, view shifts, and even trigger clock-ins programmatically. It is designed for integrating TempClock into your wider tech stack.
Step 1: Request API Access
Contact TempClock to get API access enabled for your account.
For security, API access is not enabled by default and API keys are created exclusively by TempClock. To get started, contact us and let us know:
We review every API access request to ensure data security. Once approved, we will enable API access for your account and generate your API key.
Step 2: Receive Your API Key
TempClock will generate and securely send you your API key.
Once your request is approved, TempClock will create a named API key for your account and provide it to you securely. Your key will look like this:
After receiving your key, you can view it in your manage portal under Settings > API Keys. The full key is only shown once at creation, so store it securely as soon as you receive it.
You can view your assigned keys here. To request new keys or revoke existing ones, contact TempClock.
Security: Store your API key in a secure location such as a password manager or secrets vault. Never commit it to version control, share it in emails, or expose it in client-side code. If you believe a key has been compromised, contact TempClock immediately to have it revoked.
Step 3: Make Your First Request
Test your API key by fetching your list of workers.
Every API request requires a Bearer token in the Authorization header. Here is a quick test using curl:
If everything is working, you will receive a JSON response containing your workers:
If you receive a 401 error, double-check that your API key is correct and that the Authorization header is formatted as Bearer <your_key>.
Explore the Endpoints
The TempClock API provides endpoints for all the key areas of your workforce data.
Here is a summary of the available endpoints. For full details, parameters, and response examples, visit the Endpoints Reference.
List and view workers — names, roles, active status, and assignment details.
Fetch time entries with filters for date range, worker, and location.
List your work sites with addresses, capacity, and settings.
Programmatically clock workers in or out at a location.
View scheduled shifts or create new shift assignments.
List departments for filtering and organising data.
List cost codes for project-based time tracking.
All endpoints are scoped to your account — you can only access data belonging to your organisation. Each API key is independently rate-limited to 60 requests per minute.
Monitoring Your API Usage
Keep track of how your integrations are using the API.
The API Logs page in your manage portal shows every request made with your API keys. You can see:
Regularly check your API logs to ensure your integrations are working correctly. If you see unexpected 401 or 403 errors, it may indicate a compromised key — revoke it immediately.
What's Next
Explore the full developer documentation to build your integration.
Now that you have your API key and have made your first request, dive deeper into the developer documentation:
Ready to try TempClock?
10-day free trial. All features included. No hidden fees, cancel anytime.