> ## Documentation Index
> Fetch the complete documentation index at: https://crossmint-devin-1787949784-wallet-docs-two-concept-model.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a User Document by ID

> Get a specific document by its ID.

**API scope required**: `users.read`



## OpenAPI

````yaml get /2025-06-09/documents/{documentId}
openapi: 3.0.0
info:
  contact:
    email: support@crossmint.com
    name: Crossmint Support
    url: https://www.crossmint.com
  description: Crossmint Users API
  title: Crossmint Users API
  version: 1.0.0
servers:
  - description: Staging environment (testnets)
    url: https://staging.crossmint.com/api
  - description: Production environment (mainnets)
    url: https://www.crossmint.com/api
security: []
tags: []
paths:
  /2025-06-09/documents/{documentId}:
    get:
      tags:
        - User Documents
      summary: Get a User Document by ID
      description: |-
        Get a specific document by its ID.

        **API scope required**: `users.read`
      operationId: Documents20250609Controller-getDocument-2
      parameters:
        - description: API key required for authentication
          in: header
          name: X-API-KEY
          required: true
          schema:
            type: string
        - in: path
          name: documentId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDocumentResponseDto'
          description: Document retrieved successfully
        '404':
          description: Document not found
components:
  schemas:
    UserDocumentResponseDto:
      properties:
        createdAt:
          description: ISO 8601 timestamp when the document was created
          example: '2024-12-05T10:30:00.000Z'
          type: string
        documentType:
          description: Type of document
          enum:
            - id-idcard-back
            - id-idcard-front
            - id-passport
            - id-residency-permit
            - proof-of-address
            - selfie-front
            - selfie-left
            - selfie-right
            - source-of-wealth
          example: id-passport
          type: string
        expiresAt:
          description: Document expiration date in YYYY-MM-DD format
          example: '2030-12-31'
          type: string
        id:
          description: Unique identifier for the document
          example: doc_abc123xyz
          type: string
      required:
        - createdAt
        - documentType
        - id
      type: object

````