Auth

Register User

Register a new user

post/api/auth/register

Request

  • Base URL: https://alpha-bazaar-signal-server.onrender.com
  • URL: https://alpha-bazaar-signal-server.onrender.com/api/auth/register
  • Auth: none required

Request body

emailstring email required
passwordstring required
usernamestring required
first_namestring required
last_namestring required
referral_codestring nullable

Response

Successful Response

successboolean required
userunknown required
access_tokenstring required
token_typestring

Example response

{
  "access_token": "eyJhbGciOiJIUzI1NiIs...",
  "success": true,
  "token_type": "bearer",
  "user": {
    "email": "trader@example.com",
    "id": "abc-123",
    "username": "signal_pro"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.