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

# Get User Details

> Syteca ACB REST API endpoint to retrieve a user's details — login, type, administrative permissions, Client access rules, User-to-User access rules, group memberships.

Retrieves full details for a Syteca user — login, user type (Internal / AD / Application Account), administrative permissions, Client access rules, User-to-User access rules, group memberships. The canonical "read" endpoint for user-management automation.

<Note>
  For ACB deployments updated from a version prior to 1.2, switch to the `https://{hostname}/EkranACB` server in the Playground.
</Note>

### Permissions required

The Access Token must be issued to a user with the [administrative User Management permission](/docs/administration/users/administrative-permissions).

### Common use cases

* **User audit reports** — Pull every user's permissions and access rules for periodic review.
* **Pre-modification verification** — Read current state before issuing a PUT to update permissions, so changes are based on the current truth.
* **Compliance evidence collection** — Document who has what permissions for SOC 2, ISO 27001 audit windows.

### Errors

See [Status codes](/docs/api/acb/api-reference#status-codes). Common errors:

* **403 Forbidden** — user lacks administrative User Management permission.
* **404 Not Found** — user doesn't exist.

## Related

<CardGroup cols={2}>
  <Card title="Update admin permissions" icon="shield-check" href="/docs/api/acb/endpoints/update-admin-permissions">Modify administrative permissions.</Card>
  <Card title="Update client access" icon="laptop" href="/docs/api/acb/endpoints/update-client-access">Modify Client access rules.</Card>
  <Card title="Update user access" icon="users-round" href="/docs/api/acb/endpoints/update-user-access">Modify User-to-User access rules.</Card>
  <Card title="Delete user" icon="user-x" href="/docs/api/acb/endpoints/delete-user">Remove the user.</Card>
</CardGroup>


## OpenAPI

````yaml GET /api/user-management/users/{userId}
openapi: 3.0.1
info:
  title: Application Credentials Broker API
  description: API for managing users in the Application Credentials Broker system
  version: 1.0.0
  contact:
    name: API Support
    email: support@example.com
servers:
  - url: https://your-syteca-host/SytecaACB
    description: On-premises Syteca ACB service (v1.2 or later)
    variables:
      hostname:
        default: your-syteca-host.example.com
        description: Your Syteca Application Server hostname
  - url: https://your-syteca-host/EkranACB
    description: Legacy URL prefix for ACB deployments updated from pre-v1.2
    variables:
      hostname:
        default: your-syteca-host.example.com
        description: Your Syteca Application Server hostname
security:
  - AccessTokenAuth: []
paths:
  /api/user-management/users/{userId}:
    get:
      tags:
        - UserManagement
      summary: Get user details by user ID
      description: Get user profile details
      parameters:
        - name: userId
          in: path
          required: true
          description: Syteca user identifier (internal or domain)
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: User details retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUserDetailsResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    GetUserDetailsResponse:
      type: object
      properties:
        id:
          type: integer
          format: int32
          description: Unique Syteca user ID
        user_type:
          type: string
          nullable: true
          description: User type
        two_factor_required:
          type: boolean
          description: Two-factor authentication on login
        external_app_enabled:
          type: boolean
          description: Allow this user account to be used by external applications
        auth_token_lifetime_sec:
          type: integer
          format: int32
          nullable: true
          description: The lifetime of an access token in seconds for this user
        ip_restrictions:
          type: array
          items:
            type: string
            description: IP address
          nullable: true
          description: Allowed IP address for this user's API access
        user_group_ids:
          type: array
          items:
            type: integer
            format: int32
            description: Syteca user group ID
          nullable: true
          description: List of Syteca user group IDs this user belongs to
        has_user_groups:
          type: boolean
          description: The user is a member of any user groups
        username:
          type: string
          nullable: true
          description: Login name
        first_name:
          type: string
          nullable: true
          description: First name
        last_name:
          type: string
          nullable: true
          description: Last name
        email:
          type: string
          nullable: true
          description: Email address
        description:
          type: string
          nullable: true
          description: Optional description/comment
        domain:
          type: string
          nullable: true
          description: AD domain name
        account_name:
          type: string
          nullable: true
          description: Domain account name
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        status:
          type: integer
          description: HTTP status code
        message:
          type: string
          description: Error message
      required:
        - status
        - message
  securitySchemes:
    AccessTokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Access token for authentication

````