v1

latestOpenAPI 3.0.42026-07-2481154567.6 KB
Emergency Contacts

Upsert Emergency Contacts

Sends new or updated employee emergency contacts directly to Paylocity Payroll/HR solution.

put/v2/companies/{companyId}/employees/{employeeId}/emergencyContacts

Path parameters

companyIdstring required

The Paylocity Company Identifier. This is the unique value provided by Paylocity to each specific Payroll Entity. Allowable Values: 9 char max

employeeIdstring required

The Paylocity Employee ID. This is a unique value per Paylocity Company ID. Allowable Values: 10 char max

Request body

address1string

1st address line.

address2string

2nd address line.

citystring

City.

countrystring

County.

countystring

Country. Must be a valid 3 character country code. Common values are USA (United States), CAN (Canada).

emailstring

Contact email. Must be valid email address format.

firstNamestring required

Required. Contact first name. <br />Max length: 40

homePhonestring

Contact Home Phone. Valid phone format (###) ####### or ######-#### or ### ### #### or ########## or, if international, starts with +#, only spaces and digits allowed.

lastNamestring required

Required. Contact last name. <br />Max length: 40

mobilePhonestring

Contact Mobile Phone. Valid phone format (###) ####### or ######-#### or ### ### #### or ########## or, if international, starts with +#, only spaces and digits allowed.

notesstring

Notes. <br />Max length: 1000

pagerstring

Contact Pager. Valid phone format (###) ####### or ######-#### or ### ### #### or ########## or, if international, starts with +#, only spaces and digits allowed.

primaryPhonestring

Required. Contact primary phone type. Must match Company setup. Valid values are H (Home), M (Mobile), P (Pager), W (Work)

prioritystring

Required. Contact priority. Valid values are P (Primary) or S (Secondary).

relationshipstring

Required. Contact relationship. Must match Company setup. Common values are Spouse, Mother, Father.

statestring

State or Province. If U.S. address, must be valid 2 character state code. Common values are IL (Illinois), CA (California).

syncEmployeeInfoboolean

Valid values are true or false.

workExtensionstring

Work Extension.

workPhonestring

Contact Work Phone. Valid phone format (###) ####### or ######-#### or ### ### #### or ########## or, if international, starts with +#, only spaces and digits allowed.

zipstring

Postal code. If U.S. address, must be a valid zip code.

Response

Successfully added or updated