---
title: "Retrieve my account"
method: GET
path: "/accounts/me"
tags: ["My Account"]
---

# Retrieve my account

`GET /accounts/me`

## Request

- Base URL: `https://api-staging.fanheroapi.com`
- URL: `https://api-staging.fanheroapi.com/accounts/me`
- Auth: HTTP bearer

## Headers

- `organization` string, required

## Response `200`

Successful resopnse

- object
  - `account` MyAccountOutput
    - `id` string: Account ID
    - `display_name` string: Display Name
    - `username` string: Username
    - `first_name` string: First Name
    - `last_name` string: Last name
    - `email` string: Contact email address
    - `status` ResponseAccountStatusOutput
      - `active` boolean, nullable, required: The account is active.
      - `block_temp` string, date-time, nullable, required: The account is temporarily blocked until this date.
      - `block_perm` boolean, nullable, required: The account is permanently blocked.
      - `pending_activation` boolean, nullable, required: The account is pending activation.
      - `gdpr` boolean, nullable, required: The account has GDPR requirements.
    - `organization` string: Organization ID
    - `profile` ResponseProfileOutput
      - `id` string, required: Profile ID
      - `address` string, required: Address
      - `phone` string, required: Phone number
      - `gender` string, required: Gender
      - `birthday` string, required: Date of birth
      - `locale` string, required: Locale
      - `custom_fields` Map, required
        - `key` string, required: Custom field name
        - `value` string, required: Value
      - `cpf` string, required: CPF
      - `account` string, required: Account ID
      - `avatar` string, required: Avatar ID
      - `created_at` string, date-time, required: Date and time the account was created
      - `updated_at` string, date-time, required: Date and time the account was last updated
    - `roles` array[]
      - RolesDto[]
        - `id` string, required: Role ID
        - `permissions` PermissionDto[], required: Permissions
          - `id` string, required: Permission ID
          - `name` string, required: Permission name
          - `description` string, required: Permission description
          - `subject` SubjectDto, required
            - `id` string: Subject ID
            - `fields` string[]: Fields
            - `entity` string: Entity identified by this subject
          - `actions` string[], required: The actions that this permission allows to be performed on the subject
        - `name` string, required: Role name
        - `description` string, required: Role description
        - `public` boolean, required: If **True**, this role is available to all user, including those that are not logged it.
        - `default` boolean, required: If **True**, this role is assigned to any newly created organization.
    - `channels` ObjectId[]
    - `is_admin` boolean
    - `is_tenant_user` boolean
    - `is_super_user` boolean

---

[API](https://skmtc.dev/fanhero/apis/user-management-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/user-management-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/user-management-endpoints/revisions/3f982670c057?raw)
