Factorial
Employees, time off, attendance, teams and documents
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
- API versionOptionalIdentifier
Where to find them
- As an admin user, in Factorial go to “Settings” and scroll down to the “Advanced” section → “API keys”.
- Click “Create new API key”, give it a name and click “Get my API key”.
- Copy it: it is shown only once. It gives access to all company data and does not expire (it can be revoked).
OAuth 2.0
PKCEYour OAuth appBring your own OAuth app: register one with Factorial, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide
Registering the OAuth app
- As an admin user, in Factorial go to “Settings” → “Advanced configuration” → “OAuth applications” (app.factorialhr.com/settings/oauth-applications) and click “Create OAuth app”.
- Name it “Maua.Culturewire”, choose a confidential client (with a secret), paste the redirect URI shown below into the redirect URIs and select the scopes listed below.
- Save and copy the “Client ID” and the “Client secret” (if you lose it, use “Rotate client secret”).
- When connecting, a Factorial admin signs in and authorizes: a company token is requested, like the API key, limited to those scopes.
Default scopes
employeestime_offtime_trackingdocumentscompany_legal_entities
Tools (1)
Factorial API request
FACTORIAL_SEND_REQUESTAuthenticated call to the Factorial API (https://api.factorialhr.com/api/{version}). Any endpoint of the API is allowed. Examples: GET /resources/employees/employees?only_active=true&only_managers=false, GET /resources/timeoff/leaves?from=2026-10-01&to=2026-10-31&include_deleted_leaves=false, GET /resources/timeoff/leave_types, POST /resources/timeoff/leaves {"employee_id": …, "leave_type_id": …, "start_on": "2026-11-02", "finish_on": "2026-11-06"}, GET /resources/attendance/shifts?employee_ids[]=…&start_on=2026-10-01&end_on=2026-10-31, GET /resources/teams/teams, GET /resources/companies/legal_entities. Pagination: limit (max 100) and after_id with the previous meta.end_cursor.
Required scopes
No scopes required
Input
Factorial API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

