Skip to content
Maua.Culturewire

Factorial

Employees, time off, attendance, teams and documents

HR and recruitingCatalog1 tool · 0 triggers

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

    1. As an admin user, in Factorial go to “Settings” and scroll down to the “Advanced” section → “API keys”.
    2. Click “Create new API key”, give it a name and click “Get my API key”.
    3. Copy it: it is shown only once. It gives access to all company data and does not expire (it can be revoked).

    Get credentials (opens in a new tab)

  • OAuth 2.0

    PKCEYour OAuth app

    Bring 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

    1. As an admin user, in Factorial go to “Settings” → “Advanced configuration” → “OAuth applications” (app.factorialhr.com/settings/oauth-applications) and click “Create OAuth app”.
    2. 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.
    3. Save and copy the “Client ID” and the “Client secret” (if you lose it, use “Rotate client secret”).
    4. When connecting, a Factorial admin signs in and authorizes: a company token is requested, like the API key, limited to those scopes.

    Default scopes

    • employees
    • time_off
    • time_tracking
    • documents
    • company_legal_entities

Tools (1)

  • Factorial API requestFACTORIAL_SEND_REQUEST

    Authenticated 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
    NameTypeDescription
    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.