Authorization header:
Keep your tokens secure. Never expose them in client-side code, public repositories, or anywhere they can be read by untrusted parties.
Register a new account
If you don’t have an account yet, create one withPOST /api/auth/register.
Log in to an existing account
Exchange your credentials for tokens usingPOST /api/auth/login.
Refresh an access token
Access tokens expire after 15 minutes. When yours expires, callPOST /api/auth/refresh with your refresh token to get a new one without logging in again.
Using your token
Include the access token in theAuthorization header of every API request:
