Auth

Log in with Privy JWT

Verifies the SIWE message and signature, creates a session, and returns user info

post/api/auth/login

Response

Authentication successful, session created

successboolean
userIdstring nullable required

The ID of the authenticated user

walletstring required

The wallet address of the authenticated user

Example response

{
  "success": true,
  "userId": "user_123abc",
  "wallet": "0x123..."
}

Changes