> ## Documentation Index
> Fetch the complete documentation index at: https://api.docs.flare.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve User Profile

> Return the profile of the authenticated user, wrapped in a `profile` object: identity, settings, language, color scheme, feature flags, organization and tenants. `tenants` holds up to 50 tenants of the user's organization that the user can read, plus the tenant the caller is acting in. Use `PUT /me/profile` to update the profile and `GET /me/tenants` to list only the tenants.

&#x20;Required API key permission: **Read Organization**


## OpenAPI

````yaml firework-v2-openapi get /firework/v2/me/profile
openapi: 3.0.1
info:
  description: >

    Manage and access Firework resources.


    Requests are authenticated with API tokens, which are obtained using an API
    key:


    1. Generate an API key from the [Profile
    page](https://app.flare.io/#/profile).

    2. Send a `POST` request to `https://api.flare.io/tokens/generate` with the
    `Authorization: <api-key>` header to get an API token. API tokens expire
    after 1 hour.

    3. Call the API endpoints with the `Authorization: Bearer <api-token>`
    header.


    See [Authentication](https://api.docs.flare.io/concepts/authentication) for
    details.
  title: Firework API
  version: v2
servers:
  - url: https://api.flare.io/
security:
  - BearerAuth: []
tags:
  - description: >-
      The authenticated user, its API keys, organizations, tenants, onboarding
      and usage.
    name: Account
  - description: >-
      Events collected by Flare: global search, tenant and identifier feeds,
      event details, actions and saved feed views.
    name: Events
  - description: >-
      Identifiers are the assets a tenant monitors, such as domains, keywords
      and email addresses. Includes recommendations and authorization of
      sensitive identifiers.
    name: Identifiers
  - description: Report groups, reports, their sections, schedules and delivery channels.
    name: Reports
paths:
  /firework/v2/me/profile:
    get:
      tags:
        - Account
      summary: Get the current user profile
      description: >-
        Return the profile of the authenticated user, wrapped in a `profile`
        object: identity, settings, language, color scheme, feature flags,
        organization and tenants. `tenants` holds up to 50 tenants of the user's
        organization that the user can read, plus the tenant the caller is
        acting in. Use `PUT /me/profile` to update the profile and `GET
        /me/tenants` to list only the tenants.
      operationId: get_current_user_profile
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_current_user_profile_200_response'
          description: Returns the current user's profile
components:
  schemas:
    get_current_user_profile_200_response:
      properties:
        profile:
          $ref: '#/components/schemas/UserProfile'
      type: object
    UserProfile:
      allOf:
        - $ref: '#/components/schemas/User'
        - properties:
            settings:
              $ref: '#/components/schemas/UserProfile_allOf_settings'
            feature_flags:
              $ref: '#/components/schemas/UserProfile_allOf_feature_flags'
            tenants:
              description: >-
                Tenants the user can read, including the tenant the caller is
                acting in.
              items:
                $ref: '#/components/schemas/Tenant'
              type: array
            is_sso_mandatory:
              description: Whether the organization of the user requires single sign-on.
              type: boolean
            has_password:
              description: Whether the user has a password.
              type: boolean
            urn:
              description: Uniform resource name of the profile.
              type: string
            needs_eusa:
              description: Whether the user still has to accept the EUSA agreement.
              type: boolean
            domain:
              description: Domain of the email address of the user.
              type: string
            language:
              description: Language of the user.
              type: string
            should_provide_signup_intent:
              description: >-
                Whether the user should be asked for the signup intent of the
                organization.
              type: boolean
          type: object
    User:
      properties:
        id:
          type: integer
        name:
          description: Users's name
          type: string
        surname:
          description: User's surname
          type: string
        email:
          description: User's email
          type: string
        organization_id:
          description: ID of the owner organization
          type: integer
        settings:
          $ref: '#/components/schemas/UserSettings'
        is_disabled:
          type: boolean
        feature_flags:
          properties: {}
          type: object
        registered_at:
          format: date-time
          type: string
        urn:
          description: The uniform resource name of the user.
          type: string
        organization_member_permissions:
          properties: {}
          type: object
        language:
          description: User's language
          type: string
        color_scheme:
          enum:
            - auto
            - light
            - dark
          example: auto
          type: string
        flare_role:
          type: string
      required:
        - color_scheme
        - email
        - language
        - name
      type: object
    UserProfile_allOf_settings:
      description: Settings of the user.
      type: object
    UserProfile_allOf_feature_flags:
      description: Feature flags of the user, as a map of flag name to boolean.
      properties: {}
      type: object
    Tenant:
      properties:
        id:
          description: Tenant ID
          type: integer
        name:
          description: Tenant name
          type: string
        type:
          description: Tenant type
          type: string
        description:
          description: This tenant's purpose
          type: string
        organization_id:
          description: ID of the owner organization
          type: integer
        urn:
          description: The uniform resource name of the tenant.
          type: string
        number_of_employees:
          description: The number of employees for the tenant.
          type: integer
        industry:
          description: The industry of the tenant.
          type: string
        is_disabled:
          description: Indicates if the tenant is disabled
          type: boolean
        is_archived:
          description: Indicates if the tenant is archived
          type: boolean
        feed_id:
          description: ID of the feed
          type: integer
        permissions:
          items:
            type: string
          type: array
        prevent_global_search:
          description: Indicates if the tenant can perform global searches
          type: boolean
      type: object
    UserSettings:
      properties:
        default_search:
          type: string
        permissions:
          items:
            type: string
          type: array
        organization_member_permissions:
          items:
            type: string
          type: array
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.