For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

*/*

Response containing authentication token

tokenstringRequired

JWT token for authentication

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
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

*/*

Response containing authentication token

tokenstringRequired

JWT token for authentication

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
post/api/auth/login

Last updated