---
title: "Generate hosted ToS acceptance link"
method: POST
path: "/v1/tos/generate"
tags: ["Terms of Service"]
---

# Generate hosted ToS acceptance link

`POST /v1/tos/generate`

## Request

- Base URL: `https://sandbox.api.infinite.dev`
- URL: `https://sandbox.api.infinite.dev/v1/tos/generate`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/infinite/apis/infinite-api/docs/v1/tos/generate/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a ToS acceptance record for the customer and returns a hosted verify URL for a human to complete agreements. The agent or API integration must not call the accept endpoint on the human’s behalf.

## Headers

- `X-API-Key` string

## Request body

- GenerateTosLinkRequestDto
  - `customerId` string, required: Customer ID for whom the hosted acceptance link is created
  - `verificationSessionId` string: Optional verification session to scope agreement flags (e.g. UBO vs business)

## Response `201`

Hosted acceptance link created

- GenerateTosLinkResponseDto
  - `id` string, required: ToS acceptance ID (tos_…)
  - `acceptanceUrl` string, required: Hosted URL for a human to review and accept agreements in a browser

## Other responses

- `401`: Unauthorized - Invalid or missing authentication credentials

## Changes

- **2026-10-09** `1dbe2b2d7a1b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/infinite/apis/infinite-api/changes/v1/tos/generate/post.md)

---

[API](https://skmtc.dev/infinite/apis/infinite-api.md) - [All operations](https://skmtc.dev/infinite/apis/infinite-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infinite/apis/infinite-api/revisions/90065d3e6974?raw)
