---
title: "Generate Company Login Link"
method: POST
path: "/getAuthLink"
---

# Generate Company Login Link

`POST /getAuthLink`

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

## Request body

- object
  - `partnerID` string, required — PartnerID of the Zeal Partner
  - `companyID` string, required — CompanyID of the company
  - `embedded_page` 'dashboard' | 'employees' | 'contractors' | 'custom-attributes' | 'custom-paperwork' | 'i9' | 'reports' — By specifying the particular page you want to embed, the embedded component will show just that page and no sidebar. Can take the values of `dashboard` (home page), `employees`, `contractors`, `custom-attributes`, `custom-paperwork`, `i9`, or `reports`.

## Response `200`

200

- object
  - `success` boolean
  - `url` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/zeal/apis/zeal-api.md) · [All operations](https://skmtc.net/zeal/apis/zeal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zeal/zeal-api/versions/01346dceb27d/schema)
