Skip to Content

Authentication API

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

Base Endpoint

/api/auth

Endpoints

MethodEndpointDescription
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
POST/api/auth/activate-accountActivate user account using verification code

Token Usage

Include the access token in the Authorization header:

Authorization: Bearer {{accessToken}}

Authentication Flow