Skip to main content

Signup creates a new user account and organization.

POST 

/api/v1/auth/signup

Creates both the user and their organization in one operation. Sends verification email to the provided address.

Parameters

  • first_name: Required, user's first name
  • last_name: Required, user's last name
  • company_name: Required, organization name
  • email: Required, user email (must be unique)
  • phone_number: Optional, user phone
  • password: Required, minimum 8 characters

Side Effects

  • Creates organization with user as owner
  • Assigns default admin role to user
  • Sends verification email

Errors

  • ALREADY_EXISTS: Email already registered
  • INVALID_ARGUMENT: Invalid email format or weak password

Request

Responses

A successful response.