Register User
Create a new user account with automatic organization setup and email verification
Overview
Create a new user account and automatically set up their organization. After registration, a verification email is sent, and the user is automatically logged in with an authentication token.Request Body
"John Doe""john.doe@example.com""SecurePassword123!""SecurePassword123!""America/New_York""+1-555-123-4567"Response
The response is identical to the login endpoint, containing user details and authentication token.Authorization: Bearer {token} header."owner" for new registrations)."yes" for new registrations).Example Request - Basic Registration
Body
User's full name
"John Doe"
User's email address (must be unique)
"john.doe@example.com"
User's password
"SecurePassword123!"
Password confirmation (must match password)
"SecurePassword123!"
Optional custom organization details
User's timezone
"America/New_York"
User's phone number
"+1-555-123-4567"
Response
Registration successful
1
"John Doe"
"john.doe@example.com"
"https://s3.amazonaws.com/bucket/profiles/user-1.jpg"
5
Bearer token for API authentication
"1|Ab3dEfGh1Jk2Lm3No4Pq5Rs6Tt7Uv8Wx9Yz0"
owner, manager, member, client "owner"
yes, no "yes"
15
0 = not added, 1 = added
0, 1 1
0 = not added, 1 = added
0, 1 1
0 = not invited, 1 = invited
0, 1 1
"America/New_York"