Skip to Content
🎉 New release with new features and improvements! V0.0.2 Release →

Authentication API

The Authentication API provides endpoints for user authentication, token management, and password operations.

Base Endpoint

/api/auth

Endpoints

MethodEndpointDescription
POST/api/auth/registerRegister new user
POST/api/auth/activate-accountActivate user account using verification code
POST/api/auth/loginAuthenticate user with email and password
POST/api/auth/refreshRefresh expired access token
POST/api/auth/forget-passwordRequest password reset code via email
POST/api/auth/reset-passwordReset password using verification code

Token Usage

Include the access token in the Authorization header:

Authorization: Bearer {{accessToken}}

Authentication Flow