Generate Employer Login Link

Generates a link that automatically signs in an employer into their Zeal Employer Dashboard.

Generate a link that automatically signs in an employer and redirects them to their Zeal Employer Dashboard in which they can manage and run payroll. This link (and dashboard) can be hosted on your custom domain as an iframe component. When an employer logs out of the dashboard, they will be redirected to the Base URL set in your Settings page.

NOTE: This link can only be generated in production and cannot be generated with a test API key.
This link also expires exactly 7 days after generation.

Returns

attributetypedescription
successbooleanResponse status
dataurlA link that directly signs in an Employer
errorsarrayIf success is false, contains a list of error objects which consists of:
message: Error message
code: Error code as described in Error codes
Language
Authorization
Header
Click Try It! to start a request and see the response here!