Skip to main content
POST
Create User
Creates a new user account. Note: User creation is typically handled through the authentication endpoints (/api/v1/auths/signup). This documentation is for reference.

Authentication

User creation through signup endpoints requires appropriate signup configuration.

Request Body

string
required
User email address (will be converted to lowercase)
string
required
User display name
string
required
User password (will be hashed)
string
default:"/user.png"
URL to user’s profile image
string
default:"pending"
User role: admin, user, or pending
string
Username (optional)
object
OAuth provider information for OAuth-based signups

Response

string
Unique user identifier (auto-generated UUID)
string
User email address
string
Username
string
User role
string
User display name
string
URL to user’s profile image
integer
Unix timestamp of last activity (set to creation time)
integer
Unix timestamp of last update
integer
Unix timestamp of creation

Example Request

Example Response

Notes

  • Email addresses are automatically converted to lowercase
  • First user created automatically becomes an admin
  • Subsequent users are created with pending role by default unless configured otherwise
  • Profile image URL defaults to /api/v1/users/{id}/profile/image
  • Password is hashed using secure password hashing before storage
  • User creation is handled by the authentication system at /api/v1/auths/signup