Skip to main content
POST
Create User

Body

application/json

Schema for creating a new User inherits from UserBase, can add extra fields if needed.

first_name
string
required
last_name
string
required
email
string<email>
required
password
string | null
username
string | null
full_name
string | null
avatar_url
string | null
github_id
string | null
github_login
string | null
github_access_token
string | null
google_id
string | null
google_access_token
string | null
microsoft_id
string | null
microsoft_access_token
string | null
linkedin_id
string | null
linkedin_access_token
string | null

Response

Successful Response

Schema for reading a User (e.g GET requests). inculdes DB-generated fields like IDs, timestamps, etc.

first_name
string
required
last_name
string
required
email
string<email>
required
user_id
integer
required
role
string
required
created_at
string<date-time> | null
updated_at
string<date-time> | null
username
string | null
full_name
string | null
avatar_url
string | null
plan
string | null
stripe_customer_id
string | null
mfa_enabled
boolean
default:false
onboarding_completed
boolean
default:false