Auth

Endpoints for authentication

Register

post

Enter credentials to get JWT token.

Body

Request for user authentication

usernamestringRequired

Username of the user

Example: john_doe
passwordstringRequired

Password of the user

Example: password123
namestringRequired

Name of the user

Example: Joe Don
Responses
200

OK

*/*
post
/api/auth/register

Login

post

Enter credentials to get JWT token.

Body

Request for user authentication

usernamestringRequired

Username of the user

Example: john_doe
passwordstringRequired

Password of the user

Example: password123
Responses
200

OK

*/*
post
/api/auth/login

Last updated

Was this helpful?