Skip to main content

Register

LearnWay provides multiple ways to register a user account: traditional email and password registration, OTP-based signup, and initial account setup for social signups.

Register with Password

Creates a new user profile with email, password, username, and an optional referral code. Upon successful registration, the user receives an initial session with JWT tokens and a generated on-chain wallet address.

Endpoint

Request Headers

Request Body

Response (201 Created)


Setup Account (Post-Social / Onboarding)

Used to finalize registration details (such as username, country, and interests) for users who initiated signup through social login.

Endpoint

Request Body

Response (200 OK)