v1

latestOpenAPI 3.0.02026-07-23173737.9 KB
Authentication

Authenticate user

Authenticate a user using EIP712 signature or API key and return access/refresh tokens

post/auth/login

Request body

method'eip712' | 'api_key' | 'privy_access_token' required

Authentication method

addressstring required

User wallet address

clientIdstring required

Client identifier

Response

Authentication successful

accessTokenstring required

JWT access token

refreshTokenstring required

Refresh token for obtaining new access tokens

tokenTypestring required

Token type

expiresInnumber required

Token expiration time in seconds

addressstring required

User wallet address

clientIdstring required

Client identifier