FairTest for developers and AI agents
Connect FairTest to HR systems, payroll software, safety management tools and your own internal workflows, using the FairTest REST API or from AI apps over MCP.
FairTest API
The FairTest API is a REST API. The full reference lists every endpoint with request and response schemas and lets you run calls from your browser: FairTest API reference. Guides are in the API documentation.
What you can do: create and run random selections and retrieve selection pools; log, update and retrieve tests, filtered by employee, location, date range, result or status; create, update and sync employees; pull compliance data, test statistics, the positive result register and tester activity; read setup data such as locations, departments, job classifications, pay types and test types; and read testing requirements, exemptions, compliance and role history.
Authentication
REST API requests use a Bearer token sent in the Authorization header. All requests must use HTTPS, and unauthenticated requests are rejected. See the API documentation for how to get a token.
AI apps and MCP
Every API endpoint is available to AI apps as an MCP tool. The MCP server is at https://app.fairtest.com.au/api/mcp. AI apps sign in with a FairTest account rather than an API key, and the server publishes OAuth protected-resource metadata at /.well-known/oauth-protected-resource so compatible clients can find the sign-in service automatically. Setup steps are in Connecting AI apps.
Integrations
FairTest also offers a Power Automate connector, and syncs employees and clock-in data with HR and payroll systems. See the integrations page for the systems supported today.
Support
Questions about the API: support@fairtest.com.au.