Factorial API: what you can do and how to use it with AI agents
The Factorial API gives access to HR data such as employees, teams, absences, time tracking and documents. HR teams and integrators who connect Factorial to payroll, access systems and internal communication use it. Access is through OAuth 2.0 with a registered application, or a company API key.
What the Factorial API offers
Employees
Records, contracts and employment data.
Teams and structure
Teams, work locations and managers.
Absences and vacation
Requests, approvals and balances.
Time tracking
Clock-in and clock-out records and shifts.
Documents
Files of employees and of the company.
Webhooks
Notices of events such as new employees and absences.
How to access the Factorial API
- With your company’s credentialsOAuth 2.0 with an application registered in the Factorial account, or an API key generated by an administrator. Permissions follow the authorized profile.
- Employee data is personal and some of it sensitive, so handle it under GDPR or your local law.
- Employees should see only their own data, so the agent verifies identity.
- Respect the API request limits.
Official documentation: apidoc.factorialhr.com
What an iTeam agent does with the Factorial API
How many vacation days do I have?
In Teams, the employee asks, and the agent checks the balance in Factorial and replies, with no ticket to HR.
Time-off request forwarded
The agent records the absence request and tells the manager to approve it.
Incomplete time record
The agent finds missing entries in the period and reminds each person before the close.
Organized onboarding
When an employee joins, the agent prepares the document checklist and creates the tasks for the manager and IT.
From the credential to the agent at work, with approval
Register the application in Factorial
An administrator creates the app or the key with minimal scopes.
Store it in the iTeam vault
The credential stays in the vault and only HR agents use it, with reading kept separate from writing.
Test with approval
Absence records and changes to employee records start with HR approval.
Ready-made AI teams for this work
Recruiting and screening team
Each application is read against the criteria you set, with a written reason. Recruiters decide; the team books the interviews.
Employee HR help desk
Questions about time off, benefits and payslips get a correct answer from your handbook. Sensitive topics go straight to HR.
Payroll and timesheet team
Hours, overtime, leave and changes are checked every pay period, so the run goes out right the first time.
Performance review team
Feedback and goals are collected as work happens, so the review is written from facts and not from memory.
Questions about the Factorial API
Is the Factorial API free?
In general, the API is available to customers depending on the plan. Confirm with Factorial.
Do I need to code to use the Factorial API with iTeam?
Not necessarily. iTeam's HTTP tool reads the documentation, and the deployment team sets up the workflows.
Does the agent approve vacation on its own?
No. It records and forwards the request, and the approval stays with the manager.