Skip to main content
POST
Login with OTP

Body

application/json
email
string<email>
required

The email address used to request the OTP

Example:

"artist@example.com"

code
string
required

The 6-digit one-time verification code sent to the email

Pattern: ^\d{6}$
Example:

"123456"

Response

Authentication successful

token
string
required

Authentication token (JWT) that expires in 1 hour

Example:

"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."

social_wallet
string
required

The Privy embedded wallet address associated with the authenticated account

Example:

"0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b"