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

# Get current user profile

> Returns the authenticated user profile, including organization, role, persona, automations, and other settings.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/user/profile
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/user/profile:
    get:
      tags:
        - Users
      summary: Get current user profile
      description: >-
        Returns the authenticated user profile, including organization, role,
        persona, automations, and other settings.
      operationId: get_user_profile
      responses:
        '200':
          description: User profile returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserProfileResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserErrorResponse'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserErrorResponse'
        '500':
          description: Failed to fetch profile
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    UserProfileResponse:
      type: object
      description: >-
        Returned by GET /api/user/profile. `user` is the projected User
        document; `persona` is the resolved Persona (or null when the user has
        none).
      properties:
        user:
          $ref: '#/components/schemas/UserProfile'
        persona:
          nullable: true
          allOf:
            - $ref: '#/components/schemas/UserPersona'
      required:
        - user
      additionalProperties: true
      example:
        user:
          _id: 64ee9a8b1e7f2a0011223399
          fullName: Alex Rep
          email: alex@acme.example
          accessRole: DEPARTMENT_HEAD
          organizationId: 64ee9a8b1e7f2a0011223344
        persona:
          _id: 64eea1110000000000000040
          organization: Acme Corp
          timezone: America/Toronto
    UserErrorResponse:
      type: object
      description: >-
        Generic error envelope returned by Users endpoints. Most paths only
        include `error`; some add `details` for diagnostic context.
      properties:
        error:
          type: string
        details:
          type: string
      required:
        - error
      additionalProperties: true
      example:
        error: User not found
        details: No user with id 64ee9a8b1e7f2a0011223399
    UserProfile:
      type: object
      description: >-
        Authenticated user profile document. Fields are projected from `User`
        and may vary slightly depending on which controller served the request.
      properties:
        _id:
          type: string
        accessRole:
          type: string
        departmentId:
          type: string
          nullable: true
        fullName:
          type: string
        email:
          type: string
          format: email
        phoneNumber:
          type: string
        sinchPhoneNumber:
          type: string
        designation:
          type: string
        callForwardingEnabled:
          type: boolean
        persona:
          type: string
          nullable: true
        conversationOpenPreference:
          type: string
        organizationId:
          type: string
      additionalProperties: true
      example:
        _id: 64ee9a8b1e7f2a0011223399
        accessRole: DEPARTMENT_HEAD
        departmentId: 64eea1110000000000000020
        fullName: Alex Rep
        email: alex@acme.example
        phoneNumber: '+14155550199'
        designation: Senior Account Executive
        callForwardingEnabled: true
        persona: 64eea1110000000000000040
        conversationOpenPreference: always
        organizationId: 64ee9a8b1e7f2a0011223344
    UserPersona:
      type: object
      description: Persona document linked to a user (may be null when unset).
      properties:
        _id:
          type: string
        user:
          type: string
        position:
          type: string
        userEmail:
          type: string
        organization:
          type: string
        organizationAddress:
          type: string
        leadProvider:
          type: string
        organizationWebsite:
          type: string
        organizationCity:
          type: string
        region:
          type: string
        timezone:
          type: string
        businessHours:
          type: string
      additionalProperties: true
      example:
        _id: 64eea1110000000000000040
        user: Alex Rep
        position: Senior Account Executive
        userEmail: alex@acme.example
        organization: Acme Corp
        organizationAddress: 500 Bay St, Toronto, ON
        leadProvider: Facebook Lead Ads
        organizationWebsite: https://acme.example
        organizationCity: Toronto
        region: Ontario
        timezone: America/Toronto
        businessHours: 9am-6pm Mon-Fri
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````