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

# Get user

> Retrieve full details of a specific end-user.

<Note>
  Requires `X-Api-Key` and `X-Api-Secret` headers. See [Authentication](/api-reference/users/introduction#authentication) for details.
</Note>

Use this endpoint to poll `status` after calling [Start KYC](/api-reference/users/start-kyc) to confirm when a user transitions to `active`.

Returns `404` both when the user doesn't exist **and** when they belong to a different partner — isolation between partners is strict.


## OpenAPI

````yaml api-reference/openapi.json GET /api/v1/partner/users/{userId}
openapi: 3.1.0
info:
  title: QASH API
  description: >-
    QASH endpoints for exchange rates, cards, and partner-facing financial
    workflows.
  version: 1.0.0
servers:
  - url: https://api.qash.ai
    description: Partner API (Production)
  - url: https://staging.qash.ai
    description: Staging
  - url: https://app.qash.ai
    description: Production
security: []
tags:
  - name: Exchange rates
    description: Public endpoints for supported assets and TRM-based quotes.
  - name: Cards
    description: >-
      Authenticated partner endpoints for card state, controls, limits, and
      balances.
  - name: Users
    description: Admin endpoints for user provisioning and account management.
paths:
  /api/v1/partner/users/{userId}:
    get:
      tags:
        - Users
      summary: Get user
      description: >-
        Returns full details of a specific end-user. Returns `404` if the user
        doesn't exist or belongs to a different partner.
      operationId: partnerGetUser
      parameters:
        - name: userId
          in: path
          required: true
          description: UUID of the user, obtained from `POST /users` or `GET /users`.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: User details returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerGetUserResponse'
              examples:
                default:
                  summary: Active user with all fields
                  value:
                    success: true
                    data:
                      user:
                        id: 550e8400-e29b-41d4-a716-446655440000
                        email: user@example.com
                        status: active
                        countryCode: CO
                        phone: '+573001234567'
                        preferredLanguage: es
                        createdAt: '2026-05-27T10:00:00.000Z'
        '401':
          description: Invalid partner credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    error: Invalid partner credentials
        '404':
          description: User not found or belongs to a different partner.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    error: User not found
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    error: Failed to retrieve user
      security:
        - partnerApiKey: []
          partnerApiSecret: []
components:
  schemas:
    PartnerGetUserResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
          properties:
            user:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
                email:
                  type: string
                  format: email
                status:
                  $ref: '#/components/schemas/UserStatus'
                countryCode:
                  type: string
                  example: CO
                phone:
                  type: string
                  description: Present only if registered.
                  example: '+573001234567'
                preferredLanguage:
                  type: string
                  example: es
                createdAt:
                  type: string
                  format: date-time
              required:
                - id
                - email
                - status
                - countryCode
                - preferredLanguage
                - createdAt
          required:
            - user
      required:
        - success
        - data
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          description: Human-readable error message.
          example: Email is required
      required:
        - success
        - error
    UserStatus:
      type: string
      enum:
        - pending
        - active
        - suspended
        - banned
      description: Current lifecycle status of the user.
  securitySchemes:
    partnerApiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Partner API key. Generated from Qash Dashboard → Settings → API Keys.
    partnerApiSecret:
      type: apiKey
      in: header
      name: X-Api-Secret
      description: Partner API secret. Shown once at creation — store it securely.

````