PayrollIntegrationsBase > Code

Reads all Codes

Changed on

Reads all Codes

get/api/2026-10-01/resources/payroll_integrations_base/codes

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/payroll_integrations_base/codes
  • Auth
    • OAuth 2
      Authorization code: https://id.factorialhr.com/oauth/authorize
      Token URL: https://id.factorialhr.com/api/oauth/token scopes: integrations
    • or API key in header x-api-key

Query parameters

codestring

Code Value

Example:COD-51
integrations[]string[] required

Payroll Integration names

codeable_idstring

Related object ID. Used together with codeable_type

Example:1
codeable_typestring

Related object type. Used together with codeable_id

Example:Employee | Company | LegalEntity | Location

Response

OK

Example response

{
  "data": [
    {
      "id": "1",
      "company_id": "2",
      "code": "COD-51",
      "codeable_id": "5",
      "codeable_type": "Employee | Company | LegalEntity | Location | TimeoffLeaveType",
      "integration": "a3innuva"
    }
  ]
}

Changes