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

# Get user profile

> Retrieves the profile information of the currently authenticated user including notification settings and onboarding status.



## OpenAPI

````yaml get /user/profile
openapi: 3.0.0
info:
  title: Cybedefend API
  description: >-
    CybeDefend is an advanced API for application security analysis. Key
    features include OAuth 2.0 authentication, user/organization/project
    management, and REBAC-based permissions. It excels in static, dynamic, and
    IaC security analyses (SAST, DAST, IaC, etc.).
  version: '1.0'
  contact: {}
servers:
  - url: https://api-eu.cybedefend.com
    description: EU
  - url: https://api-us.cybedefend.com
    description: US
security: []
tags: []
paths:
  /user/profile:
    get:
      tags:
        - User
      summary: Get user profile
      description: >-
        Retrieves the profile information of the currently authenticated user
        including notification settings and onboarding status.
      operationId: UserController_getProfile
      parameters: []
      responses:
        '200':
          description: User profile retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUserProfileResponseDto'
        '401':
          description: Unauthorized - Invalid or missing authentication token
          content:
            application/json:
              schema:
                example:
                  message: Unauthorized
                  statusCode: 401
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
        '403':
          description: Forbidden - Insufficient permissions
          content:
            application/json:
              schema:
                example:
                  message: Forbidden
                  statusCode: 403
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
components:
  schemas:
    GetUserProfileResponseDto:
      type: object
      properties:
        id:
          type: string
          description: User unique identifier
          format: uuid
        firstName:
          type: string
          description: User first name
        email:
          type: string
          description: User email address
          format: email
        lastName:
          type: string
          description: User last name
        picture:
          type: string
          description: User picture URL
          maxLength: 8192
        notification:
          type: boolean
          description: Enable or disable notifications
        isOnboardingCompleted:
          type: boolean
          description: Indicates if the onboarding is completed
        createdAt:
          format: date-time
          type: string
          description: Date of account creation
        updatedAt:
          format: date-time
          type: string
          description: Date of last account update
        myOrganizations:
          type: array
          items:
            $ref: '#/components/schemas/OrganizationDto'
      required:
        - id
        - firstName
        - email
        - notification
        - isOnboardingCompleted
        - createdAt
        - updatedAt
        - myOrganizations
    OrganizationDto:
      type: object
      properties:
        id:
          type: string
          description: Organization unique identifier
          format: uuid
        name:
          type: string
          description: Organization name
        country:
          type: string
          description: Organization country
        industry:
          type: string
          description: Organization industry
        isActive:
          type: boolean
          description: Organization active status
        myTeams:
          type: array
          items:
            $ref: '#/components/schemas/TeamDto'
        myRole:
          type: string
          description: User role within the organization
        subscription:
          description: Subscription summary for this organization
          nullable: true
          allOf:
            - $ref: '#/components/schemas/SubscriptionDto'
      required:
        - id
        - name
        - country
        - industry
        - isActive
        - myTeams
        - myRole
    TeamDto:
      type: object
      properties:
        id:
          type: string
          description: Team unique identifier
          format: uuid
        name:
          type: string
          description: Team name
        myRole:
          type: string
          description: User role within the team
      required:
        - id
        - name
        - myRole
    SubscriptionDto:
      type: object
      properties:
        plan:
          type: string
          description: Plan code
          enum:
            - developer
            - pro
            - enterprise
        seats:
          type: number
          description: Number of seats
        resetAt:
          type: string
          description: Period reset at (ISO)
          format: date-time
        createdAt:
          type: string
          description: Created at (ISO)
          format: date-time
        updatedAt:
          type: string
          description: Updated at (ISO)
          format: date-time
        trialEndsAt:
          type: string
          description: Trial ends at (ISO) or empty
          format: date-time
        currentPeriodEnd:
          type: string
          description: Current period end (ISO)
          format: date-time
        status:
          type: string
          description: Subscription status
      required:
        - plan
        - seats
        - resetAt
        - createdAt
        - updatedAt
        - currentPeriodEnd
        - status

````