Auth

User signup

post
/signup/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
emailstring · emailRequired
namestringRequired
passwordstringRequired
confirm_passwordstringRequired
Responses
post
/signup/

User login

post
/login/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
emailstring · emailRequired
passwordstringRequired
Responses
chevron-right
200

Tokens returned

application/json
post
/login/

Request password reset via email

post
/password-reset/request/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
emailstring · emailRequired
Responses
chevron-right
200

OTP sent if email exists

No content

post
/password-reset/request/
200

OTP sent if email exists

No content

Verify password reset OTP

post
/password-reset/verify-otp/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
emailstring · emailRequired
otpstringRequired
Responses
chevron-right
200

OTP valid

No content

post
/password-reset/verify-otp/
200

OTP valid

No content

Change password after OTP verification

post
/password-reset/change-password/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
emailstring · emailRequired
new_passwordstringRequired
confirm_passwordstringRequired
Responses
chevron-right
200

Password changed

No content

post
/password-reset/change-password/
200

Password changed

No content

Change password (logged-in user)

put
/change-password/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
old_passwordstringRequired
new_passwordstringRequired
confirm_passwordstringRequired
Responses
chevron-right
200

Password changed

No content

put
/change-password/

No content

Refresh access token

post
/refresh/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
refreshstringRequired
Responses
chevron-right
200

New access token

application/json
post
/refresh/
200

New access token

Logout and revoke refresh token

post
/logout/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
refreshstringRequired
Responses
chevron-right
200

Logged out

No content

post
/logout/

No content

Delete current account

delete
/delete-account/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
delete
/delete-account/

No content

Last updated