PayrollIntegrationsBase > Code
Creates a Code
Changed onCreates a Code
post/api/2026-10-01/resources/payroll_integrations_base/codes
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/payroll_integrations_base/codes
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: integrations
- or API key in header x-api-key
Request body
Example request
{
"code": "COD-51",
"codeable_id": "1",
"codeable_type": "Employee | Company | LegalEntity | Location | TimeoffLeaveType",
"integration": "a3innuva"
}Response
CREATED
Example response
{
"id": "1",
"company_id": "2",
"code": "COD-51",
"codeable_id": "5",
"codeable_type": "Employee | Company | LegalEntity | Location | TimeoffLeaveType",
"integration": "a3innuva"
}Changes
- info
endpoint added
- info