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

# Get user from the directory

> Returns the id, name, email, and status of an active or deactivated user of the authenticated company. A user from another company or a deleted user responds 404.



## OpenAPI

````yaml /en/openapi.json get /v1/user/directory/{id}
openapi: 3.0.0
info:
  title: Nuvia API - Company
  description: API documentation for companies
  version: '1.0'
  contact: {}
servers:
  - url: https://api.nuvia.ai
security: []
tags:
  - name: messages
    x-group: Messages
  - name: contacts
    x-group: Contacts
  - name: campaigns
    x-group: Campaigns
  - name: tables
    x-group: Tables and lists
  - name: agents
    x-group: Agents
  - name: conversations
    x-group: Conversations
  - name: inboxes
    x-group: Inboxes
  - name: knowledge
    x-group: Knowledge base
  - name: Webhooks
    x-group: Webhooks
  - name: campaign-enrollments
    x-group: Campaign enrollments
  - name: custom-fields
    x-group: Custom fields
  - name: resources
    x-group: Files and attachments
  - name: hubspot
    x-group: HubSpot
  - name: users
    x-group: Users
paths:
  /v1/user/directory/{id}:
    get:
      tags:
        - users
      summary: Get user from the directory
      description: >-
        Returns the id, name, email, and status of an active or deactivated user
        of the authenticated company. A user from another company or a deleted
        user responds 404.
      operationId: UsersController_findUserDirectoryEntry
      parameters:
        - name: id
          required: true
          in: path
          description: User ID
          schema:
            type: string
        - name: x-company-id
          in: header
          description: >-
            Target company identifier. Required only for global API keys
            (type=global). Ignored for company API keys and human users.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: User found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDirectoryEntryDto'
        '401':
          description: Invalid or expired token
        '403':
          description: You do not have permission to access this resource
        '404':
          description: Resource not found
      security:
        - JWT-auth: []
components:
  schemas:
    UserDirectoryEntryDto:
      type: object
      properties:
        _id:
          type: string
          description: User ID
        name:
          type: string
          description: User's full name
        email:
          type: string
          description: User's email
        status:
          type: string
          enum:
            - ACTIVE
            - INACTIVE
          description: User status
      required:
        - _id
        - name
        - email
        - status
  securitySchemes:
    JWT-auth:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: JWT authentication token

````

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