Account APIs
Was this helpful?
Endpoints for user registration, authentication, and account management in Guardian.
Authentication: Bearer token required for protected endpoints (Authorization: Bearer <token>). Registration and login endpoints are unauthenticated.
POST
/api/v1/accounts/register
Register a new user account
No
POST
/api/v1/accounts/login
Login and obtain a Bearer token
No
GET
/api/v1/accounts/session
Returns the current authenticated user session
Yes
GET
/api/v1/accounts
Returns all users except Standard Registries and Auditors
Yes
GET
/api/v1/accounts/standard-registries
Returns all Standard Registry accounts
Yes
GET
/api/v1/accounts/balance
Returns balance for the current user
Yes
Was this helpful?
Was this helpful?