# Account APIs

The Account APIs handle user registration, authentication, session management, and account queries within the Guardian system.

**Base URL:** `/api/v1/accounts`

> **Note:** `POST /accounts/register`, `POST /accounts/login`, and `POST /accounts/access-token` do not require a Bearer token. All other endpoints require `Authorization: Bearer <token>`.

***

## Endpoints

| Method     | Endpoint                                   | Description                                          | Auth Required |
| ---------- | ------------------------------------------ | ---------------------------------------------------- | ------------- |
| **`POST`** | `/accounts/register`                       | Register a new user account                          | No            |
| **`POST`** | `/accounts/login`                          | Log in and receive JWT tokens                        | No            |
| **`POST`** | `/accounts/change-password`                | Change the authenticated user's password             | Yes           |
| **`POST`** | `/accounts/access-token`                   | Refresh access token using a refresh token           | No            |
| **`GET`**  | `/accounts/session`                        | Return current session information                   | Yes           |
| **`GET`**  | `/accounts/`                               | List users (excluding Standard Registry and Auditor) | Yes           |
| **`GET`**  | `/accounts/standard-registries`            | Return all Standard Registry accounts                | Yes           |
| **`GET`**  | `/accounts/standard-registries/aggregated` | Return Standard Registries with policies and VCs     | Yes           |
| **`GET`**  | `/accounts/balance`                        | Return the authenticated user's Hedera balance       | Yes           |

***

## Endpoint Details

* [Registering a New Account](/docs/develop/accounts-and-profiles/account-apis/registering-new-account.md)
* [User Login](/docs/develop/accounts-and-profiles/account-apis/user-login.md)
* [Change Password](/docs/develop/accounts-and-profiles/account-apis/change-password.md)
* [Refresh Access Token](/docs/develop/accounts-and-profiles/account-apis/refresh-access-token.md)
* [User Session](/docs/develop/accounts-and-profiles/account-apis/user-session.md)
* [User Listing (Excluding Standard Registry and Auditor)](/docs/develop/accounts-and-profiles/account-apis/user-listing-except-root-authority-and-auditor.md)
* [Returns All Standard Registries](/docs/develop/accounts-and-profiles/account-apis/returns-all-root-authorities.md)
* [Standard Registries Aggregated](/docs/develop/accounts-and-profiles/account-apis/standard-registries-aggregated.md)
* [User Balance](/docs/develop/accounts-and-profiles/account-apis/user-balance.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/accounts-and-profiles/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.
