Skip to main content
POST
Create a user

Authorizations

Authorization
string
header
required

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

Body

application/json
type
enum<string>
required
Available options:
individual
firstName
string
required
lastName
string
required
email
string
required
dateOfBirth
string<date>
required

Date of birth in format yyyy-mm-dd.

signedAgreementId
string
required

ID of the signed agreement, fetched through the HIFI's Hosted Terms of Service Link POST /tos-link

requestId
string<uuid>

Request ID for user creation. If not provided, a random UUID will be generated. Using the same requestId will result in the same user being returned.

chains
enum<string>[]

The chains to create wallets for, default to POLYGON and ETHEREUM.

Available options:
POLYGON,
ETHEREUM,
SOLANA,
BASE,
BSC,
FLOW_EVM,
CANTON,
TRON
address
object

Address of the user.

Either the address or the ipAddress must be provided.

ipAddress
string<ipv4>

IP address of the user.

Either the address or the ipAddress must be provided.

Response

Success

id
string<uuid>

User ID

createdAt
string<date-time>

Data and time when the user was created

type
string
email
string
name
string
wallets
object