Skip to main content

Sage HR Connector

Sage HR Sage HR is all inclusive Human Resource management solution. Use the Sage HR component to manage Employees, Teams, Projects, and more.

Connections

API Key

InputCommentsDefault
API KeyAPI Key for your Sage HR User
Subdomain NameThe subdomain name of your Sage HR account

Actions

Close Project

Close a project.

InputCommentsDefault
Connection
Project IDID of project to be closed

Create Document

Creates a document only visible to the employee themselves.

InputCommentsDefault
Connection
FileThe file to upload.
File NameThe name of the file
Employee IDsEmployee Identifier; also accepts and array of integers to share with multiple employees["000xxx"]
Category IDOptional ID of the document category to filter by.
DescriptionDocument description.
Notify'true' to notify employee by emailfalse
SourceSource of the documentAPI
Shared With Everyone'true' to share with all employeesfalse
Shared With Team Manager'true' to share with all team managersfalse
Shared With Direct Manager'true' to share with all direct managerfalse
StatusStatus of the document
Right to Work Document TypeRight to work document type
Right to Work Document NumberRight to work document number
Expiresif 'true' expiration_date is also requiredfalse
Expiration DateExpiration date of the document, format: YYYY-MM-DD

Create Employee

Create new employee

InputCommentsDefault
Connection
EmailEmail address of the employee
First NameFirst name of the employee
Last NameLast name of the employee
Work Start DateEmployees work start date, format: YYYY-MM-DD, leave empty to use todays date
Send Email'true' to send welcome email to employeefalse
Date of BirthEmployees date of birth, format: YYYY-MM-DD
GenderEmployees gender, Must be one of: Male, Female, Other
Marital StatusEmployees marital status, Must be one of: Married, Single, Divorced, Widower, In a relationship, Other
NationalityEmployees nationalty in long form, example: Canadian
CountryEmployees country two character ISO code
StateEmployees address: state
Post CodeEmployees address: zip or postal code
Street FirstEmployees address first line
Street SecondEmployees address second line
CityEmployees address city
Position TitleEmployees position
Home PhoneHome phone number
Work PhoneWork phone number
Mobile PhoneMobile phone number
Personal Identification NumberPersonal identification number
Tax NumberTax Number

Create Project

Create a new project.

InputCommentsDefault
Connection
Project NameName of the project
Project CodeCode of the project
Start DateLast working day; format: YYYY-MM-DD
End DateLast working day; format: YYYY-MM-DD
Limit Total HoursActivate the limit of hoursfalse
Max Limit Total HoursThe limit number of hours

Create Projects

Create a batch of projects.

InputCommentsDefault
Connection
ProjectsAn array of projects.

Create Time Off Requests

Create new time off request

InputCommentsDefault
Connection
TypeTime off request type
Time Off Policy IDTime off policy ID
Employee IDThe ID of the employee
Replacement IDTime off policy ID
Last Working Dayformat: YYYY-MM-DD; required if type is single
Last Working Dayformat: YYYY-MM-DD; required if type is multi
Last Working Dayformat: YYYY-MM-DD; required if type is multi
Part of DayPart of day
Hoursrequired if type is single & part_of_day is first_part_of_day or second_part_of_day
Last Working Dayformat: H:M; required if part_of_day is specific_timespan
Last Working Dayformat: H:M; required if part_of_day is specific_timespan
Detailsrequired based on policy settings

Delete Document

Allows admin to delete document.

InputCommentsDefault
Connection
Document IDID of document to be deleted

Get Document

View Document Details.

InputCommentsDefault
Connection
Document IDDocument ID

Get Employee

Retrieve single active employee in company.

InputCommentsDefault
Connection
Employee IDThe ID of the employee
Team HistoryWhether to return the team historyfalse
Employment Status HistoryWhether to return the employment status historyfalse
Position HistoryWhether to return the position historyfalse

Get Employee Compensations

Retrieve single employee's compensation details

InputCommentsDefault
Connection
Employee IDThe ID of the employee

Get Employee Custom Fields

Get employee custom fields

InputCommentsDefault
Connection
Employee IDThe ID of the employee

Get Terminated Employee

Retrieve single terminated employee

InputCommentsDefault
Connection
Employee IDThe ID of the employee

List Documents

View all documents for company

InputCommentsDefault
Connection
Category IDOptional ID of the document category to filter by.
Employee IDOptional id of employee to filter documents.

List Employees

List active employees in company.

InputCommentsDefault
Connection
PageThe page number to return
Team HistoryWhether to return the team historyfalse
Employment Status HistoryWhether to return the employment status historyfalse
Position HistoryWhether to return the position historyfalse

List Positions

List positions in company

InputCommentsDefault
Connection
PageThe page number to return

List Projects

List projects

InputCommentsDefault
Connection

List Teams

List teams in company

InputCommentsDefault
Connection
PageThe page number to return

List Terminated Employees

Retrieve a list of terminated employees

InputCommentsDefault
Connection
PageThe page number to return
Team HistoryWhether to return the team historyfalse
Employment Status HistoryWhether to return the employment status historyfalse
Position HistoryWhether to return the position historyfalse

List Time Off Balances

Lists employee time off balances

InputCommentsDefault
Connection
Employee IDThe ID of the employee

List Time Off Requests

Lists employee time off Requests

InputCommentsDefault
Connection
PageThe page number to return
From DateIf not specified defaults to beginning of current month. Format: YYYY-MM-DD
To DateIf not specified defaults to end of current month. Days between from date and to date must be less than 65. If you need info for larger period of time make multiple requests. Format: YYYY-MM-DD

Raw Request

Send raw HTTP request to Sage HR

InputCommentsDefault
Connection
URLInput the path only (/employees), The base URL is already included (https://subdomain.sage.hr/api/). For example, to connect to https://subdomain.sage.hr/api/employees, only /employees is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type.false
Max Retry CountThe maximum number of retries to attempt.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries.false

Rehire Employee

Rehire Employee.

InputCommentsDefault
Connection
Employee IDThe ID of the employee
New start working dayformat: YYYY-MM-DD
CommentsComments
Start FreshThis parameter is used to start the employee record clean, resetting the employee's leave balances.false

Terminate Employee

Terminate Employee.

InputCommentsDefault
Connection
Employee IDThe ID of the employee
Last Working DayLast working day; format: YYYY-MM-DD
Termination Reason IDTermination reason ID
CommentsComments

Time Clocking In and Out

Clock in and out employees on specific days

InputCommentsDefault
Connection
Override'true' if override provided days clocked entriesfalse
Clocked TimeClocked time entries for the day. If override is true, this will override the existing entries.

Update Document

Document will only be visible to employee themselves.

InputCommentsDefault
Connection
Document IDID of document to be updated
FileThe file to upload.
File NameThe name of the file
Employee IDsEmployee Identifier; also accepts and array of integers to share with multiple employees["000xxx"]
Category IDOptional ID of the document category to filter by.
DescriptionDocument description.
Notify'true' to notify employee by emailfalse
SourceSource of the documentAPI
Shared With Everyone'true' to share with all employeesfalse
Shared With Team Manager'true' to share with all team managersfalse
Shared With Direct Manager'true' to share with all direct managerfalse
StatusStatus of the document
Right to Work Document TypeRight to work document type
Right to Work Document NumberRight to work document number
Expiresif 'true' expiration_date is also requiredfalse
Expiration DateExpiration date of the document, format: YYYY-MM-DD

Update Employee

Update employee

InputCommentsDefault
Connection
Employee IDThe ID of the employee
First NameFirst name of the employee
Last NameLast name of the employee
Work Start DateEmployees work start date, format: YYYY-MM-DD, leave empty to use todays date
Location IDThe ID of the location
Team IDThe ID of the team
Leader IDThe ID of the leader
Date of BirthEmployees date of birth, format: YYYY-MM-DD
GenderEmployees gender, Must be one of: Male, Female, Other
Marital StatusEmployees marital status, Must be one of: Married, Single, Divorced, Widower, In a relationship, Other
NationalityEmployees nationalty in long form, example: Canadian
CountryEmployees country two character ISO code
StateEmployees address: state
Post CodeEmployees address: zip or postal code
Street FirstEmployees address first line
Street SecondEmployees address second line
CityEmployees address city
Position IDThe ID of the position
Employee NumberThe employee number
Home PhoneHome phone number
Work PhoneWork phone number
Mobile PhoneMobile phone number
Personal Identification NumberPersonal identification number
Tax NumberTax Number
Approver IDsList of approver IDs.["000xxx"]
Selected Leave TypesSelected leave types.["000xxx"]

Update Employee Custom Field

Update employee custom field

InputCommentsDefault
Connection
Employee IDThe ID of the employee
Custom Field IDCustom field ID
Custom Field ValueCustom field Value

Update Project

Update a project.

InputCommentsDefault
Connection
Project IDId of the project
Project NameName of the project
Project CodeCode of the project
Start DateLast working day; format: YYYY-MM-DD
End DateLast working day; format: YYYY-MM-DD
Limit Total HoursActivate the limit of hoursfalse
Max Limit Total HoursThe limit number of hours

Update Projects

Update a batch of projects.

InputCommentsDefault
Connection
ProjectsArray of projects to be updated