Send payslip notification emails to employees

Sends payslip notification emails to a list of employees for a specific pay run. The notification is sent asynchronously and the response indicates which employee IDs failed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the payroll configuration

int32
required

Year of the pay run

int32
required

Pay period number within the year

Body Params
employeeIds
array of strings | null

The employees whose payslips to email, sent within the request. Give either this or
recipients, never both.

employeeIds
boolean

When true, a payslip already emailed as it stands now is left out and reported in
skippedEmployeeIds; one recalculated since it was emailed (a figure changed, or the pay
run was unlocked and locked again) is sent again. Off by default: a plain request emails every
payslip it names.

recipients
object

Who to email, sent in the background, so a request of any size is accepted at once: everyone on
the pay run with figures (type payRun, the empty payslips left out), or the employees
named (type employees). A payslip that cannot be sent is tried again. Give either this or
employeeIds, never both.

Headers
string

Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json