post https://api.zeal.com/getAuthLink
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
attribute | type | description |
---|---|---|
success | boolean | Response status |
data | url | A link that directly signs in an Employer |
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 |