Skip to main content

In this guide

  • Which endpoints are needed to recreate the Employee Dashboard.
  • How to embed the white-label Employee Dashboard in your application.

API

We’ll use Zeal’s white-labeled Employee Dashboard as a reference for building our custom dashboard.

How to build a Home Page

  1. Call Get Employee Checks by Employee to present a summary of checks for this employee.

Note

Remember to replace the placeholders such as {{testApiKey}} in the code samples below.
  1. Call Get Paystub Link to allow employees to download specific paystubs.

How to build a Profile Page

  1. Call Get/Update Employee Information to allow the employee to view/edit their profile information.
  1. Call Get Employee Tax Parameter Summary and Set Employee Tax Parameters allow the employee to view/edit their tax information.
  1. Call View/Sign Employee Paperwork to present tax documents (federal & state W-4s) in a PDF format.
  1. Call Get Bank Account by Employee/Contractor ID to present bank account information. Use Update Bank Account to allow the employee to correct their bank information.

How to build an Employee Documents section

Call Get Documents to retrieve a list of employee documents such as W-2s or W-2 Cs.

Zeal’s White-Labeled Dashboard

There are two ways to allow an Employee to access their dashboard.
  1. If you’ve already authenticated the employee on your system, call Generate Employee Dashboard Link to get an SSO link directly to the employee’s dashboard.
  1. Now, allow the employee to access the link or embed the component directly in your application through an iframe .

Login Credentials

During the Employee Onboarding, include the account creation step by setting "employee_acct": true.
  1. The employee creates credentials that they can use to log into their Employee Dashboard.
Employee Onboarding Create Account
  1. The employee navigates to your domain (e.g. payroll.[your-domain].com) and inputs their credentials to log in.

Recap

  • The Employee Dashboard provides core functionality to your payroll products such as allowing employees to access paystubs and personal information.
  • All the data and processes needed to build your customer employee dashboard are exposed through Zeal’s API endpoints.
  • You may embed the white-label Employee Dashboard directly in your application.