post https://api.zeal.com/getAuthLink
Generates a link that automatically signs in an employer into their Zeal Company Dashboard.
Generate a link that automatically signs in a company and redirects them to their Zeal Company 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 a company 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 a company |
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 |