# Profile APIs

Endpoints for viewing and updating user profile credentials and account information in Guardian.

**Authentication:** Bearer token required (`Authorization: Bearer <token>`)

***

| Method | Endpoint                              | Description                                                          | Auth Required |
| ------ | ------------------------------------- | -------------------------------------------------------------------- | ------------- |
| `GET`  | `/api/v1/profiles/{username}`         | Returns the DID document and Hedera account information for the user | Yes           |
| `PUT`  | `/api/v1/profiles/{username}`         | Sets Hedera credentials and creates a DID for the user               | Yes           |
| `PUT`  | `/api/v1/profiles/push/{username}`    | Sets Hedera credentials asynchronously                               | Yes           |
| `GET`  | `/api/v1/profiles/{username}/balance` | Returns the Hedera account balance for the user                      | Yes           |

## Endpoints

* [User Account Information](/docs/develop/guardian/users/user-operations/profile-apis/user-account-information.md)
* [Setting User Credentials](/docs/develop/guardian/users/user-operations/profile-apis/setting-user-credentials.md)
* [Setting User Credentials Asynchronously](/docs/develop/guardian/users/user-operations/profile-apis/setting-user-credentials-asynchronously.md)
* [User Account Balance](/docs/develop/guardian/users/user-operations/profile-apis/user-account-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/guardian/users/user-operations/profile-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.
