---
title: "This gets the account data for the currently logged in user."
method: GET
path: "/account"
tags: ["account"]
---

# This gets the account data for the currently logged in user.

`GET /account`

The platform will know what user to get data for by using the JWT token.There is no need to query parameters

## Response `200`

successful operation

- Account — Data pertaining to an account
  - `user_id` string, required — the user_id of the account
  - `username` string, required — the username of the user
  - `default_channel_name` string, required — user's default channel name
  - `roles` string[] — user roles

## Other responses

- `400` — Server cannot execute request due to something that is perceived to be a client error
- `401` — Unauthenticated, no token is provided or token is invalid
- `403` — Access is forbidden
- `404` — The specified resource was not found
- `500` — Internal server error

---

[API](https://skmtc.net/anaconda/apis/anaconda-server-api.md) · [All operations](https://skmtc.net/anaconda/apis/anaconda-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anaconda/anaconda-server-api/revisions/6aef0cb7a151/schema)
