API Keys
API keys provide programmatic access to FairTest data. Use them to integrate FairTest with your own systems, scripts, or third-party tools.
Access
API key management is available to Owners and Admins only. Go to Setup > Integrations and find the API Keys section.
Creating an API Key
- Click Create API Key
- Enter a Name for the key (e.g. "Payroll Sync", "Safety Dashboard")
- Select Permissions:
| Permission | Access |
|---|---|
| Read | Read employees, tests, selections, and setup data |
| Write | Create and update employees and tests |
| Selections | Run random selections |
- Choose an Expiration:
- Never
- 30 days
- 90 days
- 1 year
- Click Create
The API key is shown once after creation. Copy it immediately — it will not be displayed again.
Managing API Keys
The active keys table shows:
| Column | Description |
|---|---|
| Key | Key name with prefix (e.g. ft_xxxx...) |
| Scopes | Granted permissions |
| Created | Date the key was created |
| Last Used | Date the key was last used for a request |
| Expires | Expiration date, or Expired in red if past |
Revoking a Key
- Click Revoke next to the key
- Confirm the action
Revoking a key is permanent and cannot be undone. Revoked keys are shown struck through in the table. Any requests using a revoked key will be rejected immediately.
Using Your API Key
Include the API key as a Bearer token in the Authorization header:
curl -X GET https://app.fairtest.com.au/api/employees \
-H "Authorization: Bearer ft_your_api_key_here" \
-H "Content-Type: application/json"
All API requests must be made over HTTPS.
API Documentation and Tools
- API Reference — full endpoint documentation is available at the FairTest API Reference
- OpenAPI Spec — download the OpenAPI specification from the API reference page for use with code generators or API clients
- Postman — to import into Postman:
- Download the OpenAPI spec from the API reference page
- In Postman, click Import
- Select the downloaded file
- Postman will generate a collection with all available endpoints
Related Articles: