Make an API key for your own systems
Create, copy and revoke the keys your own systems or developer use to read your jobs and send booking requests. API keys come with the Pro plan.
- Open Settings and choose Connections.
- Under Automation and developers, find the API keys card. It shows No keys, or how many live keys you have. Press Create key to open the API keys panel.
- Type a name so you know what it's for, e.g. "Website form".
- Choose Read only or Read and write, then press Create key.
- Press Copy and keep the key somewhere safe. It won't be shown again.
- Give the key to your developer, with the link Read the API reference under the form. They send the key with each request as `Authorization: Bearer trk_...` to the `/api/v1` address. Calling `/api/v1/me` is a quick way to check the key works.
API keys come with the Pro plan. Below Pro the panel shows API keys come with the Pro plan and has no form.
What a key can reach:
- Jobs: the job list (by date, status, client or reference), one job, its proof of delivery (and the PDF once the job is finished) and live tracking while it's on the road.
- Clients, drivers and trucks: names and types only. Never rates, pay or a driver's private details.
- Bookings (Read and write keys): a booking is never booked straight in. It waits in Booking requests for a person to accept, and one that looks like a job already on the board is refused.
- Notes and job changes (Read and write keys): these go to Approvals for a person to click, the same as a change suggested by a connected AI.
A key also follows your switches under Connect to AI: Read, Make bookings and Suggest job changes. A switch that's off answers 403 and says which one.
The table lists every key with its Access, who made it and when it was Last used. Only the start of each key is shown.
To stop a key working, press Revoke beside it. Anything using it stops working straight away.
Only admins can make or revoke keys. Each key can make up to 120 requests a minute.
Under the form you'll see the terms every key is used on: your systems may use your TrakkHQ data only for your company's own work, and must not copy, scrape or rebuild TrakkHQ or keep its data for anything else. The same words come back with every `/api/v1` answer, and in full at `/api/v1/`.
If a key or a connected AI reads far more than usual (by default more than 2,000 records in an hour), it shows in Activity under Connect to AI as an Unusually large read. Nothing is blocked. You can change the number in Settings → AI and integrations → Claude and ChatGPT.
Common questions
What's the difference between Read only and Read and write?
Read only keys can only look. Read and write keys can also send bookings, notes and job changes. A booking waits in Booking requests, and a note or change waits in Approvals, for a person to accept before anything changes.
The panel says "API keys come with the Pro plan".
Making and using API keys needs the Pro plan or above. Keys you already made are kept, but answer 403 until your company moves to Pro. You can still revoke them.
My key signs in but gets 403 saying a switch is off.
A key follows the switches under Connect to AI. Turn on Read to let it see jobs, Make bookings to send bookings, and Suggest job changes for notes and changes.
Can a key see prices or invoices?
No. Whatever its access, a key never sees or changes prices, rate cards, invoices, pay, your accounting software, users or sign-ins, and it can't delete anything.
I lost a key. Can I see it again?
No. A key is shown once, when you make it. Revoke the lost one and create a new key.
It says "sign in with your own account to make an API key".
Keys can only be made or revoked by an admin signed in as themselves, so there's a record of who did it. Sign out of any shared login and sign in with your own.
Can I connect Claude, ChatGPT or Copilot?
Not yet. The Connect to AI box at the top of Connections is marked Coming soon.
Next: Set your business rules