# Account APIs

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.

***

| Method | Endpoint                               | Description                                               | Auth Required |
| ------ | -------------------------------------- | --------------------------------------------------------- | ------------- |
| `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           |

## Endpoints

* [Authentication Process](/docs/develop/guardian/users/user-operations/account-apis/authentication-process.md)
* [Registering New Account](/docs/develop/guardian/users/user-operations/account-apis/registering-new-account.md)
* [User Login](/docs/develop/guardian/users/user-operations/account-apis/user-login.md)
* [User Session](/docs/develop/guardian/users/user-operations/account-apis/user-session.md)
* [User Listing](/docs/develop/guardian/users/user-operations/account-apis/user-listing-except-root-authority-and-auditor.md)
* [Returns All Root Authorities](/docs/develop/guardian/users/user-operations/account-apis/returns-all-root-authorities.md)
* [User Balance](/docs/develop/guardian/users/user-operations/account-apis/user-balance.md)
* [Returns Access Token](/docs/develop/guardian/users/user-operations/account-apis/returns-access-token.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guardian.hedera.com/docs/develop/guardian/users/user-operations/account-apis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
