---
title: "Generate a terms of service link"
method: POST
path: "/v2/tos-link"
tags: ["User"]
---

# Generate a terms of service link

`POST /v2/tos-link`

The Terms of Service page must be displayed to the end user. This page can be whitelabeled upon request.

## Request body

- ToSLink
  - `idempotencyKey` string, uuid, required — Unique identifier for the resource
  - `templateId` string — Id of the custom terms of service template generated in the HIFI developer dashboard. If not passed, the page will use HIFI's default template.
  - `redirectUrl` string — Url to redirect after accepting the terms of service link. The signedAgreementId is the same as the passed idempotencyKey, you may attempt to call the POST /user/create endpoint, but if the user did not accept the TOS, the user creation will return an error.

## Response `200`

Success

- ToSLinkObject
  - `url` string
  - `signedAgreementId` string

## Other responses

- `401` — Unauthorized
- `404` — Resource not found
- `500` — Internal Server Error

---

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