# User Account

The table below provides a categorized overview of the Flashback API endpoints for user account management, grouped by functional area. Each section lists the available HTTP functions along with a concise description of their purpose, helping developers quickly understand how to manage user accounts, roles, and profiles.

{% hint style="info" %}
To perform these operations, you must be authenticated by means of one of the following methods: [BearerAuth](/support-reference/platform-api-reference/authentication.md#http-bearer-authentication).
{% endhint %}

## User Account Management API Calls

<table><thead><tr><th width="247.4000244140625">Method</th><th>API Reference</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:green;"><code>GET</code></mark><code>/user/profile</code></td><td><a href="/pages/Wr4WjL6JmqK0YFroXvOU"><strong>get__user_profile</strong></a></td><td>Get the current authenticated user's profile information.</td></tr><tr><td><mark style="color:green;"><code>GET</code></mark><code>/user/{userId}</code></td><td><a href="/pages/F0Q5oAoLFr1NT2Mt5OUF"><strong>get__user_{userId}</strong></a></td><td>Get role information for a specific user within the same organization.</td></tr><tr><td><mark style="color:green;"><code>GET</code></mark><code>/user/quota</code></td><td><a href="/pages/HgPmJCeHeulSYnXSikAs"><strong>get__user_quota</strong></a></td><td>Get the current organization’s active subscription and quota usage.</td></tr><tr><td><mark style="color:orange;"><code>POST</code></mark><code>/user/login</code></td><td><a href="/pages/FPU58yvF4BjOGsr6rdLa"><strong>post__user_login</strong></a></td><td>Log in an existing user using credentials.</td></tr><tr><td><mark style="color:orange;"><code>POST</code></mark><code>/user/refresh</code></td><td><a href="/pages/APUdZSpDM2IGpZfkP86R"><strong>post__user_refresh</strong></a></td><td>Refresh JWT access token using a refresh token.</td></tr><tr><td><mark style="color:orange;"><code>POST</code></mark><code>/user/register</code></td><td><a href="/pages/MXoPWsl229TaoHPgC2ap"><strong>post__user_register</strong></a></td><td>Register a new user with email and password.</td></tr><tr><td><mark style="color:blue;"><code>PUT</code></mark><code>/user/{userId}</code></td><td><a href="/pages/ybSqh6fNfSorWVUl1sTp"><strong>put__user_{userid}</strong></a></td><td>Fetch the organization’s active subscription and quota usage.</td></tr><tr><td><mark style="color:blue;"><code>PUT</code></mark><code>/user/{userId}/role</code></td><td><a href="/pages/nzkjHvmQuaYNB7USv0Pl"><strong>put__user_{userId}_role</strong></a></td><td>Update the organization role for a specific user.</td></tr></tbody></table>


---

# 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://docs.flashback.tech/support-reference/platform-api-reference/user-account.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.
