Skip to main content
The TaxMaxi Auth API gives you everything you need to create accounts, log in, and manage sessions. All authenticated endpoints accept a bearer token you obtain at login — pass it as Authorization: Bearer <token> on every request that requires authentication. Two login paths are available: the local provider (email and password) and OAuth providers such as Coinbase. You can link multiple providers to a single account and unlink them any time, as long as at least one remains.

Base URL

All auth endpoints are under the /auth prefix.

Authentication model

After a successful login or OAuth callback, the API returns a session token. Include this token in the Authorization header of every protected request:
Tokens expire at the time indicated by expiresAt. Use POST /auth/refresh to extend your session before it expires. To invalidate a token immediately, call POST /auth/logout.

Endpoint reference

Pages in this section

Register

Create a local account and complete email verification.

Login

Authenticate with email/password or an OAuth authorization code.

OAuth

Run the full OAuth flow to log in or link a Coinbase account.

Session

Manage your session: refresh tokens, update your profile, and log out.