/
KA
kareadita
/
Kavita
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
kareadita
Kavita
post
Register the first user (admin) on the server. Will not do anything if an admin is already confirmed
v52
latest
OpenAPI 3.0.4
GPL-3.0
raw.githubusercontent.com
2026-08-03
509
370
876.8 KB
Account
Register the first user (admin) on the server. Will not do anything if an admin is already confirmed
post
/api/Account/register
Request body
RegisterDto
required
username
string
required
email
string
nullable
password
string
required
Response
OK
UserDto
required
id
integer
oidcId
string
nullable
username
string
nullable
email
string
nullable
roles
string[]
nullable
token
string
nullable
refreshToken
string
nullable
apiKey
string
nullable
preferences
UserPreferencesDto
ageRestriction
AgeRestrictionDto
kavitaVersion
string
nullable
identityProvider
0
|
1
Members:
0
— Kavita
1
— OpenID Connect (OpenIdConnect)
created
string
date-time
createdUtc
string
date-time
authKeys
AuthKeyDto[]
nullable
coverImage
string
nullable
primaryColor
string
nullable
secondaryColor
string
nullable