Skip to main content
POST
Generate a terms of service link

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
idempotencyKey
string<uuid>
required

Unique identifier for the resource.

templateId
string<uuid>

ID of the custom Terms of Service template generated in the Hifi developer dashboard.

redirectUrl
string<uri>

URL to redirect to after the Terms of Service link is accepted.

Response

Success

url
string<uri>
required
id
string<uuid>
required
signed
boolean
required
sessionToken
string<uuid>
required
createdAt
string<date-time>
required
expiredAt
string<date-time>
required