Skip to main content
POST
Create a worker contact

Parameters

string
required
ID of the worker this contact belongs to.
string
required
Contact purpose. Currently emergency.
object
required
The contact’s name. Same shape as a worker’s name (e.g. first, last, full, display).
string
required
Free-text relationship to the worker.
array
Phone numbers for this contact. Each entry requires type and value, and may include extension and primary. Phone types are mobile, home, work, or other.
array
Email addresses for this contact. Each entry requires type and value, and may include primary. Email types are personal, work, or other.
object
Optional mailing address for this contact.
integer
Contact priority within the purpose. Required for emergency contacts.
string
Contact status. One of active or inactive. Defaults to active.

Returns

Returns the created Worker contact object.