Create an Employee

Path Params
string
required

The unique ID from Nayya or your unique ID prefixed with the external: indicator that represents an employer (e.g. external:3438yht-hg8ht39-h23uh9th-uewht0o).

Body Params
string

A unique identifier from the partner's system, used to map employee records between the partner's system and Nayya.

string

An employer-specific identifier for an employee, unique within a single employer but not across the entire partner system.

string
required

Employee last name

string
required

Employee first name

string
required

Employee email

string

Employee street address

string

Employee city

string

Employee state

string

Employee zip code

string
enum

Employee gender

Allowed:
string
enum

Employee sex assigned at birth

Allowed:
date

Employee start date

date
required

Employee date of birth

date

Employee terminated date

string

Employee phone number

string

Employee SSN (9 digits)

number

Employee income amount in cents

number

Employee additional income amount in cents

string
enum

Employee income type

Allowed:
string
enum

Employee locale

Allowed:
string
enum

Employee employment type

Allowed:
string
enum

Employee employment sub type

Allowed:
string

Employee ethnicity

boolean

Employee tobacco usage

number

Employee hours worked per week

customAttributes
object

Employee custom attributes

Headers
string
Defaults to 1

Optional API major version. Omit this header for the same behavior as 1 (this specification).

Responses

400

Bad Request

403

Forbidden

404

Not Found

409

Conflict

422

Unprocessable Entity

500

Internal Server Error

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