Once you have a session token from login or an OAuth callback, all session management endpoints let you inspect and update your account. Every endpoint in this section requires anDocumentation Index
Fetch the complete documentation index at: https://docs.taxmaxi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <token> header. If your token has expired or is otherwise invalid, you will receive a 401 SessionInvalidError — log in again to get a new one.
GET /auth/me
Returns the authenticated user’s profile and all linked provider identities.Response — 200 OK
All authentication provider identities linked to this account.
Errors
| Status | Error | Description |
|---|---|---|
| 401 | SessionInvalidError | The token is expired or invalid. Log in again. |
| 404 | AuthUserNotFoundError | No user was found for the authenticated session. |
Response
PUT /auth/me
Updates your profile. Currently supports updating your display name. Passnull to clear it.
Request body
Your new display name. Pass
null to remove it.Response — 200 OK
Same shape asGET /auth/me.
Errors
| Status | Error | Description |
|---|---|---|
| 400 | AuthValidationError | The request body is invalid. |
| 401 | SessionInvalidError | The token is expired or invalid. |
| 404 | AuthUserNotFoundError | No user was found for the authenticated session. |
POST /auth/refresh
Issues a new session token with an extended expiration time. Call this before your current token expires to maintain an uninterrupted session.Response — 200 OK
The new session token. Replace your stored token with this value.
ISO 8601 timestamp when the new token expires.
Errors
| Status | Error | Description |
|---|---|---|
| 401 | SessionInvalidError | The existing token is already expired or invalid. Log in again. |
Response
POST /auth/logout
Invalidates the current session token immediately. After a successful logout, the token can no longer be used for any authenticated request.Response — 200 OK
true when the session was invalidated successfully.Errors
| Status | Error | Description |
|---|---|---|
| 401 | SessionInvalidError | The token is already expired or invalid. |
Response
POST /auth/change-password
Changes the password for a local account. You must provide your current password for verification. This endpoint is only available to users who have a local identity linked — OAuth-only accounts cannot use it. On success, the response is204 No Content.
Request body
Your existing password, used to verify your identity before the change is applied.
The new password. Must be at least 8 characters.
Response — 204 No Content
No response body is returned on success.Errors
| Status | Error | Description |
|---|---|---|
| 400 | NoLocalIdentityError | Your account does not have a local provider linked. Password change is unavailable. |
| 400 | PasswordWeakError | The new password does not meet strength requirements. The requirements array lists each unmet rule. |
| 401 | ChangePasswordError | The currentPassword is incorrect. |
| 401 | SessionInvalidError | The token is expired or invalid. |