Skip to main content
POST
/
v1
/
query
/
get-tos-acceptance-link
⚠️ Pre-step: Get Bridge ToS link
curl --request POST \
  --url https://api.example.com/v1/query/get-tos-acceptance-link \
  --header 'Content-Type: application/json' \
  --data '
{
  "redirectUri": "https://app.example.com/tos/callback"
}
'
{
  "hostedUrl": "https://bridge.xyz/tos/accept?token=..."
}

Body

application/json

Optional redirect URI to append to the hosted ToS acceptance link

redirectUri
string | null

Optional redirect URI to append to the hosted URL returned by Bridge

Example:

"https://app.example.com/tos/callback"

Response

Hosted ToS acceptance URL received

hostedUrl
string
required
Example:

"https://bridge.xyz/tos/accept?token=..."