Skip to content

Auth Endpoints

The Auth domain covers pre-auth user flows (registration, email verification, password reset) and authenticated account management (profile, password change, API token). All endpoints are mounted under the /wallethero-api prefix.

Registration, verification, and password-reset endpoints are public (no token). Profile, password, and API-token endpoints require a Bearer token for the authenticated user (no workspace membership needed).

For native session login / refresh / logout, see Authentication — those run on Directus's built-in /auth/* endpoints, not under /wallethero-api.

Endpoints

MethodEndpointAuthDescriptionReference
POST/wallethero-api/registerPublicRegister a new userRegister
POST/wallethero-api/verify-emailPublicVerify email addressVerify Email
POST/wallethero-api/resend-verificationPublicResend verification emailVerify Email
POST/wallethero-api/password-reset-requestPublicRequest password resetPassword Reset
POST/wallethero-api/password-reset-confirmPublicConfirm password resetPassword Reset
PATCH/wallethero-api/user/profileBearerUpdate user profileUser Profile
PATCH/wallethero-api/user/passwordBearerChange passwordUser Profile
GET/wallethero-api/user/api-tokenBearerCheck API token statusAPI Token
POST/wallethero-api/user/api-token/regenerateBearerRegenerate API tokenAPI Token
DELETE/wallethero-api/user/api-tokenBearerRevoke API tokenAPI Token

Registration Flow

  1. User registers with email/password via POST /wallethero-api/register.
  2. The system sends a verification email containing a token.
  3. The user clicks the link, and the frontend calls POST /wallethero-api/verify-email with that token.
  4. After verification the user is granted the workspace admin role and can sign in.

Registering with an invitation_token skips steps 2–3: the user is auto-verified and added to the inviting workspace.

WalletHero Documentation