Creating a key
- Go to System Administration → Integration and open OpenAPI Documentation.
- In the OpenAPI Key card, select Create new key.
- Copy the key straight away with the copy button. Teammate shows Copy this key now — it will not be shown again.
- Store it somewhere secure, such as a password manager. It grants programmatic access to your company’s data. Send it in the x-api-key header on every request.
The full key is shown only once — when it is created or rotated. Teammate doesn’t keep a copy it can show you again. On later visits you see only the start of the key, and the copy button is switched off. If you lose it, rotate the key to get a new one.
Key expiry
A key works for one year from the day it is created. The key card shows when it was created, when it expires and when it was last used. In the last 30 days it shows a red notice, and an expired key is refused on every request. Rotate it before then.
Rotating a key
- In the OpenAPI Key card, select Rotate key.
- Confirm Rotate API key? by selecting Rotate key.
- Copy the new key now — it is shown only this once.
- Update your integrations to the new key within 7 days.
Your previous key keeps working for 7 days after you rotate, so you can switch each integration over without an outage. The key card shows the date it stops. Rotate whenever a key may have been exposed, or before it expires.
Revoking a key
If a key has been exposed and you want it stopped now, select Revoke and confirm. A revoked key stops working immediately, and there is no 7-day grace. Select Create new key to start again.
Endpoint documentation
The built-in API documentation lists every available endpoint, the details each one needs and an example request. Because your key is shown only once, the endpoint reference asks you to paste your key to load. The key stays in your browser tab and is sent only to the Teammate OpenAPI.
No. For security the full key is shown only once.
Select Rotate key to get a new one; the key you lost keeps working for 7 days, so nothing breaks while you update your integrations.
Check the key card.
The key may have expired after a year, been revoked, or been rotated more than 7 days ago.
Create or rotate a key and update the integration.
Was this helpful?
