---
title: "Generate one-time link"
method: POST
path: "/v6/auth/oneTimeLink"
tags: ["Auth"]
---

# Generate one-time link

`POST /v6/auth/oneTimeLink`

Generate a one-time authentication link for the authenticated user

## Request body

- OneTimeLinkParam
  - `companyId` string — Id of the company to generate a one-time link for

## Response `200`

Success

- SuccessResponseOneTimeLinkResponse
  - `result` 'SUCCESS' | 'FAILURE' — The result of the action performed.
  - `data` OneTimeLinkResponse — The data generated by the action performed.
    - `link` string — The one-time authentication link

## Other responses

- `400` — Bad request
- `401` — Not authenticated
- `403` — Not authorized
- `404` — Endpoint not found
- `500` — Internal server error

---

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