Generate Employee or Contractor Dashboard Link
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Generate a link that automatically signs in an employee and redirects them to their Zeal Employee Dashboard. This link (and dashboard) can be hosted on your custom domain. When an employee logs out of the dashboard, they will be redirected to the Base URL from your Settings page.
NOTE: This link expires exactly 7 days after generation.
Returns
| attribute | type | description |
|---|---|---|
| success | boolean | Response status |
| data | url | A link that directly signs in an Employee |
| errors | array | If success is false, contains a list of error objects which consists of:message: Error messagecode: Error code as described in Error codes |
Parameters
partnerID
string required
ID of the partnercompanyID
string required
ID of the companyemployeeID
string
ID of the employeecontractorID
string
ID of contractorembedded_page
string enum
By specifying the particular page you want to embed, the embedded component will show just that page and no sidebar. Can take the values ofdashboard-worker(worker dashboard home page),profile-worker(worker profile page), orwallet(worker instant pay wallet).
Allowed:dashboard-workerprofile-workerwalletuse_mfa
boolean
If true, MFA will be required when accessing the worker dashboard
Allowed: true,falsemfa_methods
string enum
If not specified anduse_mfais true, both mfa options will be shown
Allowed:emailsms
API Request Example
curl --request POST \
--url https://api.zeal.com/getAuthLink/ \
--header 'accept: application/json' \
--header 'content-type: application/json'
Click Try It! to start a request and see the response here! Or choose an example:
| Response Code | Description |
|---|---|
| 200 | Result |
| 400 | Result |