Skip to main content
Auth Endpoints
- /auth/signup – Register a new user with an email and password. Returns a new user record and a JWT for authentication.
- /auth/login – Authenticate an existing user using email and password, returning a JWT token for subsequent requests.
- /auth/refresh – Use this endpoint to refresh an expiring JWT and obtain a new token without re-authenticating.
- /auth/verify-email – Verify a user’s email address by submitting the verification code received via email.
- /auth/logout – Invalidate the current JWT or session to log the user out and prevent further access.