Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Auth

POST /auth/login

Returns JWT token

{
	"email": "email@example.com",
	"passowrd": "password"
}

POST /auth/register

Creates new user and returns the created user

{
	"username": "username"
	"email": "email@example.com",
	"passowrd": "password"
}

POST /auth/validate

Validates the token from the Authentication header