Browse the API reference

Register New User

post/v1/auth/register

Part of Auth.

Creates the user and a personal organization. CAPTCHA required in production. Sends verification email when email verification is enabled.

Authentication

This operation does not require an API key.

Request body

Required, application/json.

FieldTypeDescription
namerequiredstring

User's display name

emailrequiredstring (email)

User's email address

passwordrequiredstring

User's password (must meet security requirements)

captcha_tokenoptionalstring

CAPTCHA verification token (required in production)

invite_tokenoptionalstring

Org invitation token from an invitation email. When present, the new user joins the inviting organization at the invited role instead of receiving a personal organization.

Example request

curl
curl -X POST "https://api.robosystems.ai/v1/auth/register" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "email": "user@example.com",
  "password": "string"
}'

Responses

201 Successful Response

FieldTypeDescription
userrequiredobject

User information

orgoptionalobject

Organization information (personal org created automatically on registration)

messagerequiredstring

Success message

statusoptionalstring

Login flow state: authenticated (token present), or a passkey MFA step is required before a session is issued (mfa_token present)

One of: authenticated, mfa_required, mfa_enrollment_required

Default: authenticated

mfa_tokenoptionalstring

Short-lived token authorizing the MFA second step or forced enrollment; present only when status is not 'authenticated'

tokenoptionalstring

JWT authentication token (optional for cookie-based auth)

expires_inoptionalinteger

Token expiry time in seconds from now

refresh_thresholdoptionalinteger

Recommended refresh threshold in seconds before expiry

StatusMeaning
400Invalid request
409Email already registered
422Validation Error
429Rate limit exceeded
500Internal server error
503Registration temporarily disabled