Skip to content
Teammate Help Centre

Generating an Open API key & using the API

System AdministrationFor adminsVerified 9 Nov 20262 min

Creating a key

  1. Go to System Administration → Integration and open OpenAPI Documentation.
  2. In the OpenAPI Key card, select Create new key.
  3. Copy the key straight away with the copy button. Teammate shows Copy this key now — it will not be shown again.
  4. 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

  1. In the OpenAPI Key card, select Rotate key.
  2. Confirm Rotate API key? by selecting Rotate key.
  3. Copy the new key now — it is shown only this once.
  4. 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.

Was this helpful?

Keep going

Related articles