Skip to main content
POST
Create an employee

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
first_name
string
required

The employee's first name.

Maximum string length: 50
last_name
string
required

The employee's last name.

Maximum string length: 50
employee_number
string | null

An optional identifier for the employee within the partner's system, such as a badge number or HR system ID. Distinct from id and external_ref.

Maximum string length: 40
middle_initial
string | null

The employee's middle initial.

Maximum string length: 1
personal_email
string

The employee's personal email address, used as the primary address for payroll communications such as Pay Stub emails.

work_email
string

The employee's work email address. Used for payroll communications if personal_email is not set.

address_line_1
string | null

The first line of the employee's mailing address. Canada Revenue Agency forms (T4, RL-1) truncate this to the length those forms allow.

address_line_2
string | null

The second line of the employee's mailing address. Canada Revenue Agency forms (T4, RL-1) truncate this to the length those forms allow.

city
string | null

The city of the employee's mailing address.

administrative_area
string | null

The region of the employee's mailing address — the province, state, or county, depending on the country. For Canadian employees this is the Province of Residence (POR), not the Province of Employment (POE) or Province of Work (POW). POE and POW are configured via the Work Assignment's Tax Properties.

Maximum string length: 255
province_code
string | null
deprecated

This attribute is deprecated and will be removed.

A deprecated alias of administrative_area that mirrors its value. Use administrative_area instead.

In Canada, must be an uppercase 2-letter province code: AB, BC, MB, NB, NL, NS, NT, NU, ON, PE, QC, SK, YT

country_code
enum<string>

The country code for the employee's mailing address.

Available options:
CA,
GB
postal_code
string | null

The postal code for the employee's mailing address.

Maximum string length: 10
sin
string

The employee's Social Insurance Number (SIN), used for tax reporting.

date_of_birth
string<date>

The employee's date of birth.

external_ref
string
Maximum string length: 255
preferred_locale
enum<string>

The locale used for payroll communications sent to this employee, such as Pay Stub emails. If not set, the Business Entity's locale is used.

Available options:
en,
fr
archived_at
string<date>

The date the employee was archived. Archiving an employee also archives all Work Assignments that are not already archived. Archived employees do not appear in active listings.

Response

201 - application/json

Created

id
string
read-only

The unique identifier of the object in Nmbr.

object
string
read-only

The type of the object in Nmbr ("employee").

data
Employee · object