Skip to main content
POST
/
auth
/
create_user
Register User
curl --request POST \
  --url https://api.example.com/auth/create_user

Register User

Create a new user account with email and password.

Endpoint

POST /auth/create_user

Authentication

No authentication required.

Request Body

FieldTypeRequiredDescription
emailstringYesValid email address
passwordstringYesPassword (minimum 8 characters)

Example Request

curl -X POST https://api.app.shinzo.ai/auth/create_user \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "password": "securepassword123"
  }'

Response

{
  "uuid": "usr_abc123def456",
  "email": "[email protected]",
  "message": "User created successfully. Please check your email to verify your account."
}

Status Codes

CodeDescription
201User created successfully
400Invalid request (missing fields, invalid email, password too short)
409User with this email already exists

Next Steps

After registration, users must verify their email address before logging in. A verification email is sent automatically to the provided email address. If the verification email doesn’t arrive, use the Resend Verification endpoint.