The Workstream API uses OAuth 2.0 Bearer access tokens to authenticate requests. You can view and manage your access tokens in the Workstream Dashboard.
To generate an access token, simply click on Generate token
, give it a name, and select the permissions(i.e. Applicants, Employees, Positions) to attach to it. The token expires in 7 days.
You can also manage your tokens through API, as shown in the next section.
Creates a new access token.
OK
Unauthorized
{- "name": "token1",
- "token": "OtrQV4Gz7nwLouCm-ZLqiSxdwJEMEAFGx___GcNxES8",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_in": 604800,
- "scopes": [
- "positions",
- "company_users",
- "company_roles",
- "position_applications",
- "employees",
- "locations",
- "departments",
- "team_members",
- "imported_employee_infos"
]
}
Refresh the access token.
OK
Unauthorized
{- "name": "token1",
- "token": "OtrQV4Gz7nwLouCm-ZLqiSxdwJEMEAFGx___GcNxES8",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_in": 604800,
- "scopes": [
- "positions",
- "company_users",
- "company_roles",
- "position_applications",
- "employees",
- "locations",
- "departments",
- "team_members",
- "imported_employee_infos"
]
}
Revokes an existing access token.
OK
Unauthorized Client
{ }
Positions represent open job requisitions within your company that are looking to be filled.
Retrieves an existing Position.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "digest_key": "40ad0bd6836b9e5cfedbf28e7c907fe229a99a2a",
- "title": "Customer Success Associate",
- "overview": "We are looking for a full-time, dedicated, and passionate individual to join our growing team.",
- "status": "published",
- "number": "1845",
- "access": "public",
- "pay_amount": "15$",
- "pay_frequency": "hourly",
- "job_type": "full_time",
- "normalized_titles": "string",
- "remote_type": "on_site",
- "location": {
- "uuid": "fc4487ce-67n0-436e-9aa7-a2eb496aff0e",
- "name": "SF store",
- "address": "string",
- "postal_code": "string",
- "city": "string",
- "state": "string",
- "country": "string"
}, - "custom_fields": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "title": "custom field title",
- "value": "custom field value"
}
]
}
Lists existing Positions with the input parameters.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "digest_key": "40ad0bd6836b9e5cfedbf28e7c907fe229a99a2a",
- "title": "Customer Success Associate",
- "overview": "We are looking for a full-time, dedicated, and passionate individual to join our growing team.",
- "status": "published",
- "number": "1845",
- "access": "public",
- "pay_amount": "15$",
- "pay_frequency": "hourly",
- "job_type": "full_time",
- "normalized_titles": "string",
- "remote_type": "on_site",
- "location": {
- "uuid": "fc4487ce-67n0-436e-9aa7-a2eb496aff0e",
- "name": "SF store",
- "address": "string",
- "postal_code": "string",
- "city": "string",
- "state": "string",
- "country": "string"
}, - "custom_fields": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "title": "custom field title",
- "value": "custom field value"
}
]
}
]
}
Lists existing Company Users with the input parameters.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "name": "Joey White",
- "status": "active",
- "region_number": "+1",
- "phone": "4155693009",
- "created_at": "2022-09-30T00:00:00.000Z",
- "user": {
- "email": "test@test.com",
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "created_at": "2022-09-30T00:00:00.000Z"
}, - "company_role": {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "name": "General Manager",
- "editable": true,
- "permissions_set": [
- "edit_user edit_location",
- "edit_department",
- "customize_notifications",
- "edit_position",
- "edit_custom_reports",
- "edit_custom_field",
- "edit_integration",
- "edit_company"
], - "created_at": "2022-09-30T00:00:00.000Z"
}, - "permission_config": {
- "all_locations": false,
- "locations": [
- {
- "uuid": "67161b3c-2584-11ee-be56-0242ac120002",
- "all_departments": false,
- "departments": [
- {
- "uuid": null
}
]
}
]
}
}
]
}
Creates a new Company User with User info.
Returns the newly created Company User.
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "user": {
- "email": "test@test.com",
- "password": "password"
}, - "name": "Andy Lee",
- "company_role_uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "region_number": "1",
- "phone": "7789882873"
}
{- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "name": "Joey White",
- "status": "active",
- "region_number": "+1",
- "phone": "4155693009",
- "created_at": "2022-09-30T00:00:00.000Z",
- "user": {
- "email": "test@test.com",
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "created_at": "2022-09-30T00:00:00.000Z"
}, - "company_role": {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "name": "General Manager",
- "editable": true,
- "permissions_set": [
- "edit_user edit_location",
- "edit_department",
- "customize_notifications",
- "edit_position",
- "edit_custom_reports",
- "edit_custom_field",
- "edit_integration",
- "edit_company"
], - "created_at": "2022-09-30T00:00:00.000Z"
}, - "permission_config": {
- "all_locations": false,
- "locations": [
- {
- "uuid": "67161b3c-2584-11ee-be56-0242ac120002",
- "all_departments": false,
- "departments": [
- {
- "uuid": "47161b3c-2584-11ee-be56-0242ac120002"
}
]
}
]
}
}
Update an existing Company User's Company Role & permissions.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "company_role_uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "permission_config": {
- "all_locations": false,
- "locations": [
- {
- "uuid": "67161b3c-2584-11ee-be56-0242ac120002",
- "all_departments": false,
- "departments": [
- {
- "uuid": "47161b3c-2584-11ee-be56-0242ac120002"
}
]
}
]
}
}
{- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "name": "Joey White",
- "status": "active",
- "region_number": "+1",
- "phone": "4155693009",
- "created_at": "2022-09-30T00:00:00.000Z",
- "user": {
- "email": "test@test.com",
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "created_at": "2022-09-30T00:00:00.000Z"
}, - "company_role": {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "name": "General Manager",
- "editable": true,
- "permissions_set": [
- "edit_user edit_location",
- "edit_department",
- "customize_notifications",
- "edit_position",
- "edit_custom_reports",
- "edit_custom_field",
- "edit_integration",
- "edit_company"
], - "created_at": "2022-09-30T00:00:00.000Z"
}, - "permission_config": {
- "all_locations": false,
- "locations": [
- {
- "uuid": "67161b3c-2584-11ee-be56-0242ac120002",
- "all_departments": false,
- "departments": [
- {
- "uuid": "47161b3c-2584-11ee-be56-0242ac120002"
}
]
}
]
}
}
Disable an active Company User.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "status": "disabled"
}
Lists existing Company Roles with the input parameters.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "name": "General Manager",
- "editable": true,
- "permissions_set": [
- "edit_user edit_location",
- "edit_department",
- "customize_notifications",
- "edit_position",
- "edit_custom_reports",
- "edit_custom_field",
- "edit_integration",
- "edit_company"
], - "created_at": "2022-09-30T00:00:00.000Z"
}
]
}
Retrieves an existing Applicant.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "digest_key": "108eeee1",
- "referer_source": "Others",
- "email": "joblexxx@gmail.com",
- "phone": "4321012345",
- "first_name": "Joey",
- "last_name": "White",
- "name": "Joey White",
- "status": "in_progress",
- "global_phone_number": "+15151515151",
- "sms_notification": true,
- "current_stage": "Application",
- "hired_at": "2022-12-01 08:00:00",
- "application_date": "2019-08-24",
- "latest_interview_date": "2022-12-01",
- "position": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "title": "Cook"
}, - "location": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "SF store"
}, - "department": {
- "name": "Marketing",
- "description": "The marketing department"
}, - "notes": [
- {
- "content": "He is a good applicant!"
}
], - "tags": [
- {
- "name": "cook"
}
], - "candidate_info": [
- {
- "question": "Street Address",
- "answer": "110 W 5 st"
}
]
}
Returns the questions and answers of forms filled in by an existing Applicant.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "uuid": "d404e957-af95-4776-af16-bae088e49165",
- "name": "Additional Information",
- "answers": [
- {
- "question_uuid": "d404e957-af95-4776-af16-bae088e49165",
- "question_type": "multiple_choice",
- "question": "Are you at least 18 years old with a valid Driver's license?",
- "answer_uuid": "d404e957-af95-4776-af16-bae088e49165",
- "answer": "yes"
}
]
}
]
}
Lists existing Applicants with the input parameters.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "digest_key": "108eeee1",
- "referer_source": "Others",
- "email": "joblexxx@gmail.com",
- "phone": "4321012345",
- "first_name": "Joey",
- "last_name": "White",
- "name": "Joey White",
- "status": "in_progress",
- "global_phone_number": "+15151515151",
- "sms_notification": true,
- "current_stage": "Application",
- "hired_at": "2022-12-01 08:00:00",
- "application_date": "2019-08-24",
- "latest_interview_date": "2022-12-01",
- "position": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "title": "Cook"
}, - "location": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "SF store"
}, - "department": {
- "name": "Marketing",
- "description": "The marketing department"
}, - "notes": [
- {
- "content": "He is a good applicant!"
}
], - "tags": [
- {
- "name": "cook"
}
], - "candidate_info": [
- {
- "question": "Street Address",
- "answer": "110 W 5 st"
}
]
}
]
}
Employees represent applicants who have been accepted into a new position, or people who are already working for your company.
Retrieves an existing Employee.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "uuid": "d404e957-af95-4776-af16-bae088e49165",
- "first_name": "Ryan",
- "middle_initial": "J",
- "last_name": "Folk",
- "start_date": "2019-08-24",
- "applied_date": "2019-08-24",
- "hired_date": "2019-08-24",
- "onboard_date": "2019-08-24T14:15:22Z",
- "status": "completed",
- "information": {
- "phone": "+17789882873",
- "email": "wadam@example.fr",
- "birthday": "2019-08-24",
- "ethnicity": "black_or_african_american",
- "gender": "male",
- "ssn": "0015594",
- "marital_status": "never_married"
}, - "address": {
- "address": "6488 Gateway dr",
- "city": "Washington",
- "state": "United States",
- "country": "Virginia",
- "zipcode": "23703"
}, - "emergency_contact": {
- "name": "Melinda Folk",
- "email": "folk@example.fr",
- "phone": "+16084559135",
- "relationship": "Father"
}, - "employment_details": {
- "applied_date": "2019-08-24",
- "department_name": "Staff",
- "hired_date": "2019-08-24",
- "job_title": "Barista",
- "manager": "Test Manager",
- "start_date": "2019-08-24"
}, - "work_location": {
- "name": "Store",
- "address": "800 Kings Way",
- "city": "Vancouver",
- "state": "VA",
- "country": "US",
- "zipcode": "23321"
}, - "compensation": {
- "additional_remuneration": "2",
- "additional_remuneration_currency_code": "USD",
- "employment_status": "full_time",
- "status": "non_exempt",
- "wage_amount": "12",
- "wage_currency_code": "USD",
- "wage_pay_frequency": "hour"
}, - "direct_deposits": [
- {
- "account_number": "112223344",
- "account_type": "saving",
- "percentage": 0,
- "routing_number": "00356",
- "status": "active"
}
], - "federal_tax": {
- "deductions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "other_income": 0,
- "qualifying_children_num": 0,
- "qualifying_other_num": 0,
- "dependents": 0,
- "two_jobs": true,
- "exempt_from_withholding": "string"
}, - "state_tax": {
- "allowances_exemptions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "tax_form": "string",
- "state": "string",
- "tax_form_details": { }
}, - "eligibility": {
- "admission_number": "string",
- "alien_authorized_to_work_expiration_date": "2019-08-24",
- "alien_registration_or_uscis_number": "string",
- "country_of_issuance": "string",
- "lawful_permanent_resident_alien_registration_or_uscis_number": 0,
- "passport_number": "string",
- "resident_status_code": "string",
- "social_security_number": "string"
}, - "eligibility_details": {
- "i9_section_one": {
- "admission_number": "string",
- "alien_authorized_to_work_expiration_date": "2019-08-24",
- "alien_registration_or_uscis_number": "string",
- "country_of_issuance": "string",
- "lawful_permanent_resident_alien_registration_or_uscis_number": 0,
- "passport_number": "string",
- "resident_status_code": "string",
- "social_security_number": "string",
- "employee_signed_date": "2019-08-24"
}, - "i9_section_two": {
- "employer_fname": "string",
- "employer_lname": "string",
- "employer_job_title": "string",
- "employee_start_date": "string",
- "employer_signed_date": "2019-08-24",
- "list_a": {
- "list_a_document_title_1": "string",
- "list_a_document_number_1": "string",
- "list_a_expiration_date_1": "2019-08-24",
- "list_a_no_expiration_date_1": true,
- "list_a_issuing_authority_1": "string",
- "list_a_document_title_2": "string",
- "list_a_document_number_2": "string",
- "list_a_expiration_date_2": "2019-08-24",
- "list_a_no_expiration_date_2": true,
- "list_a_issuing_authority_2": "string",
- "list_a_document_title_3": "string",
- "list_a_document_number_3": "string",
- "list_a_expiration_date_3": "2019-08-24",
- "list_a_no_expiration_date_3": true,
- "list_a_issuing_authority_3": "string"
}, - "list_b": {
- "list_b_document_title_1": "string",
- "list_b_document_code": "string",
- "list_b_document_number_1": "string",
- "list_b_issuing_authority_1": "string",
- "list_b_us_state_code_1": "CA",
- "list_b_expiration_date_1": "2019-08-24",
- "list_b_no_expiration_date": true
}, - "list_c": {
- "list_c_document_title_1": "string",
- "list_c_document_code": "string",
- "list_c_issuing_authority_1": "string",
- "list_c_document_number_1": "string",
- "list_c_expiration_date_1": "2019-08-24",
- "list_c_no_expiration_date": true
}
}
}, - "custom_forms": [
- {
- "name": "Custom form",
- "content": [
- {
- "question": {
- "title": "How old are you?",
- "content": "Please enter your age."
}, - "answer": [
- { }
]
}
]
}
], - "position": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "title": "Cook"
}, - "location": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "SF store"
}, - "department": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "Marketing"
}
}
Lists existing employees with the input parameters.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "uuid": "d404e957-af95-4776-af16-bae088e49165",
- "first_name": "Ryan",
- "middle_initial": "J",
- "last_name": "Folk",
- "start_date": "2019-08-24",
- "applied_date": "2019-08-24",
- "hired_date": "2019-08-24",
- "onboard_date": "2019-08-24T14:15:22Z",
- "status": "completed",
- "information": {
- "phone": "+17789882873",
- "email": "wadam@example.fr",
- "birthday": "2019-08-24",
- "ethnicity": "black_or_african_american",
- "gender": "male",
- "ssn": "0015594",
- "marital_status": "never_married"
}, - "address": {
- "address": "6488 Gateway dr",
- "city": "Washington",
- "state": "United States",
- "country": "Virginia",
- "zipcode": "23703"
}, - "emergency_contact": {
- "name": "Melinda Folk",
- "email": "folk@example.fr",
- "phone": "+16084559135",
- "relationship": "Father"
}, - "employment_details": {
- "applied_date": "2019-08-24",
- "department_name": "Staff",
- "hired_date": "2019-08-24",
- "job_title": "Barista",
- "manager": "Test Manager",
- "start_date": "2019-08-24"
}, - "work_location": {
- "name": "Store",
- "address": "800 Kings Way",
- "city": "Vancouver",
- "state": "VA",
- "country": "US",
- "zipcode": "23321"
}, - "compensation": {
- "additional_remuneration": "2",
- "additional_remuneration_currency_code": "USD",
- "employment_status": "full_time",
- "status": "non_exempt",
- "wage_amount": "12",
- "wage_currency_code": "USD",
- "wage_pay_frequency": "hour"
}, - "direct_deposits": [
- {
- "account_number": "112223344",
- "account_type": "saving",
- "percentage": 0,
- "routing_number": "00356",
- "status": "active"
}
], - "federal_tax": {
- "deductions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "other_income": 0,
- "qualifying_children_num": 0,
- "qualifying_other_num": 0,
- "dependents": 0,
- "two_jobs": true,
- "exempt_from_withholding": "string"
}, - "state_tax": {
- "allowances_exemptions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "tax_form": "string",
- "state": "string",
- "tax_form_details": { }
}, - "eligibility": {
- "admission_number": "string",
- "alien_authorized_to_work_expiration_date": "2019-08-24",
- "alien_registration_or_uscis_number": "string",
- "country_of_issuance": "string",
- "lawful_permanent_resident_alien_registration_or_uscis_number": 0,
- "passport_number": "string",
- "resident_status_code": "string",
- "social_security_number": "string"
}, - "eligibility_details": {
- "i9_section_one": {
- "admission_number": "string",
- "alien_authorized_to_work_expiration_date": "2019-08-24",
- "alien_registration_or_uscis_number": "string",
- "country_of_issuance": "string",
- "lawful_permanent_resident_alien_registration_or_uscis_number": 0,
- "passport_number": "string",
- "resident_status_code": "string",
- "social_security_number": "string",
- "employee_signed_date": "2019-08-24"
}, - "i9_section_two": {
- "employer_fname": "string",
- "employer_lname": "string",
- "employer_job_title": "string",
- "employee_start_date": "string",
- "employer_signed_date": "2019-08-24",
- "list_a": {
- "list_a_document_title_1": "string",
- "list_a_document_number_1": "string",
- "list_a_expiration_date_1": "2019-08-24",
- "list_a_no_expiration_date_1": true,
- "list_a_issuing_authority_1": "string",
- "list_a_document_title_2": "string",
- "list_a_document_number_2": "string",
- "list_a_expiration_date_2": "2019-08-24",
- "list_a_no_expiration_date_2": true,
- "list_a_issuing_authority_2": "string",
- "list_a_document_title_3": "string",
- "list_a_document_number_3": "string",
- "list_a_expiration_date_3": "2019-08-24",
- "list_a_no_expiration_date_3": true,
- "list_a_issuing_authority_3": "string"
}, - "list_b": {
- "list_b_document_title_1": "string",
- "list_b_document_code": "string",
- "list_b_document_number_1": "string",
- "list_b_issuing_authority_1": "string",
- "list_b_us_state_code_1": "CA",
- "list_b_expiration_date_1": "2019-08-24",
- "list_b_no_expiration_date": true
}, - "list_c": {
- "list_c_document_title_1": "string",
- "list_c_document_code": "string",
- "list_c_issuing_authority_1": "string",
- "list_c_document_number_1": "string",
- "list_c_expiration_date_1": "2019-08-24",
- "list_c_no_expiration_date": true
}
}
}, - "custom_forms": [
- {
- "name": "Custom form",
- "content": [
- {
- "question": {
- "title": null,
- "content": null
}, - "answer": [
- { }
]
}
]
}
], - "position": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "title": "Cook"
}, - "location": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "SF store"
}, - "department": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "Marketing"
}
}
]
}
Retrieves an existing Location.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "uuid": "8b9ad790-2584-11ee-be56-0242ac120002",
- "name": "San Francisco store",
- "custom_fields": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "title": "custom field title",
- "value": "custom field value"
}
]
}
Lists existing Locations with the input parameters.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "uuid": "8b9ad790-2584-11ee-be56-0242ac120002",
- "name": "San Francisco store",
- "custom_fields": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "title": "custom field title",
- "value": "custom field value"
}
]
}
]
}
Retrieves an existing Department.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "uuid": "77cac653-7150-4929-9fda-3ea0e33e108f",
- "name": "Retail",
- "custom_fields": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "title": "custom field title",
- "value": "custom field value"
}
]
}
Lists existing Departments with the input parameters.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "uuid": "77cac653-7150-4929-9fda-3ea0e33e108f",
- "name": "Retail",
- "custom_fields": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "title": "custom field title",
- "value": "custom field value"
}
]
}
]
}
Retrieves an existing Team Member.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "Ryan",
- "middle_initial": "J",
- "last_name": "Folk",
- "termination_note": "string",
- "start_date": "2019-08-24",
- "status": "hired",
- "job_title": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "title": "Bus Driver"
}, - "location": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "SF store"
}, - "department": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "Marketing"
}, - "information": {
- "phone": "+17789882873",
- "email": "wadam@example.fr",
- "dob": "2020-04-01",
- "ethnicity": "black_or_african_american",
- "gender": "male",
- "ssn": "222521248",
- "marital_status": "never_married"
}, - "direct_deposits": [
- {
- "account_number": "112223344",
- "account_type": "saving",
- "percentage": 0,
- "routing_number": "00356",
- "status": "active"
}
], - "state_tax": {
- "allowances_exemptions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "tax_form": "string",
- "state": "string",
- "tax_form_details": { }
}, - "federal_tax": {
- "deductions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "other_income": 0,
- "qualifying_children_num": 0,
- "qualifying_other_num": 0,
- "two_jobs": true
}, - "eligibility": {
- "allowances_exemptions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "tax_form": "string"
}, - "custom_fields": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "title": "custom field title",
- "value": "custom field value"
}
]
}
Updates an existing Team Member's status.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "status": "hired",
- "last_day_of_work": "2019-08-24",
- "note": "string",
- "rehireable": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "Ryan",
- "middle_initial": "J",
- "last_name": "Folk",
- "termination_note": "string",
- "start_date": "2019-08-24",
- "status": "hired"
}
Lists existing Team Members with the input parameters.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "first_name": "Ryan",
- "middle_initial": "J",
- "last_name": "Folk",
- "termination_note": "string",
- "start_date": "2019-08-24",
- "status": "hired",
- "job_title": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "title": "Bus Driver"
}, - "location": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "SF store"
}, - "department": {
- "uuid": "c59c9852-2584-11ee-be56-0242ac120002",
- "name": "Marketing"
}, - "information": {
- "phone": "+17789882873",
- "email": "wadam@example.fr",
- "dob": "2020-04-01",
- "ethnicity": "black_or_african_american",
- "gender": "male",
- "ssn": "222521248",
- "marital_status": "never_married"
}, - "direct_deposits": [
- {
- "account_number": "112223344",
- "account_type": "saving",
- "percentage": 0,
- "routing_number": "00356",
- "status": "active"
}
], - "state_tax": {
- "allowances_exemptions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "tax_form": "string",
- "state": "string",
- "tax_form_details": { }
}, - "federal_tax": {
- "deductions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "other_income": 0,
- "qualifying_children_num": 0,
- "qualifying_other_num": 0,
- "two_jobs": true
}, - "eligibility": {
- "allowances_exemptions": 0,
- "extra_withholding": 0,
- "filing_status": "string",
- "tax_form": "string"
}, - "custom_fields": [
- {
- "uuid": "509a251a-93af-41e3-8416-23b29dc293cc",
- "title": "custom field title",
- "value": "custom field value"
}
]
}
]
}
Creates a new Team Member resource.
object (Team Member Creation Payload) |
Returns the newly created Team Member.
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "team_member": {
- "first_name": "Ryan",
- "middle_initial": "J",
- "last_name": "Folk",
- "dob": "2020-04-01",
- "phone": "+17789882873",
- "email": "wadam@example.fr",
- "gender": "male",
- "status": "hired",
- "start_date": "2023-05-01",
- "location": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "job_title": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "department": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "government_ids": [
- {
- "type": "SSN",
- "value": "222521248"
}
], - "metadata": { }
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
Employee Documents represent documents that are associated with employees within your company.
Download employee document with document id.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "error_code": 13401,
- "message": "Unauthorized"
}
Lists existing employee documents with the input parameters.
OK
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Not found - The requested resource is not found.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "data": [
- {
- "employee_uuid": "d404e957-af95-4776-af16-bae088e49165",
- "documents": [
- {
- "type": "w4",
- "created_at": "2022-09-30T00:00:00.000Z"
}
]
}
]
}
Imported Employee Infos represent imported employee information that is associated with employees within your company.
List existing Imported Employee Infos
Returns the imported employee info list.
Unauthorized - Credentials are not valid for the target resource.
Forbidden - The user is not authorized to use this resource.
Unprocessable Entity - Invalid query params or request body.
Too many requests.
{- "imported_employee_infos": [
- {
- "first_name": "Tom",
- "last_name": "string",
- "phone": "+17789882873",
- "email": "string",
- "rehire_eligiblity": "eligible",
- "termination_reason": "string"
}
]
}