POST
/
v1
/
users
/
{user_id}
/
fiat
/
tos
curl --request POST \
  --url https://api.privy.io/v1/users/{user_id}/fiat/tos \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'privy-app-id: <privy-app-id>' \
  --data '{
  "provider": "bridge-sandbox"
}'
{
  "status": "incomplete",
  "url": "https://dashboard.bridge.xyz/accept-terms-of-service?session_token=a53cd290-0ef6-4ab6-99d2-cd82192e7914"
}

Authorizations

Authorization
string
header
required

App secret authentication.

Headers

privy-app-id
string
required

ID of your Privy app.

Path Parameters

user_id
string
required

The ID of the user to create a terms of service agreement for

Body

application/json

Response

200 - application/json
Success message if the terms of service agreement was created successfully

The response is of type object.