POST
/
login

Query Parameters

is_privy
boolean

Toggle for Privy authentication flow. When true, enables Web2 social login integration through Privy's authentication service.

Body

application/json

Authentication request parameters

user_address
string
required

User's blockchain address in hexadecimal format

privy_token
string

Authentication token for Web2 integration

signature
string

Cryptographic signature of authentication message

siwe_msg
string

Sign-In with Ethereum formatted message

Response

200 - application/json

Successful authentication response

access_token
string

Short-lived JWT for API access

refresh_token
string

Long-lived token for session renewal

user_address
string

Authenticated user's blockchain address