> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/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:
  title: Crossmint Users API
  description: Crossmint Users API
  version: 1.0.0
  contact:
    name: Crossmint Support
    url: https://www.crossmint.com
    email: support@crossmint.com
servers:
  - url: https://staging.crossmint.com/api
    description: Staging environment (testnets)
  - url: https://www.crossmint.com/api
    description: Production environment (mainnets)
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:
        - name: X-API-KEY
          in: header
          description: API key required for authentication
          required: true
          schema:
            type: string
        - name: documentId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Document retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDocumentResponseDto'
        '404':
          description: Document not found
components:
  schemas:
    UserDocumentResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the document
          example: doc_abc123xyz
        documentType:
          type: string
          enum:
            - id-ssn
            - id-passport
            - id-idcard-back
            - id-idcard-front
            - proof-of-address
            - proof-of-income
            - selfie-front
            - selfie-left
            - selfie-right
          description: Type of document
          example: id-passport
        createdAt:
          type: string
          description: ISO 8601 timestamp when the document was created
          example: '2024-12-05T10:30:00.000Z'
        expiresAt:
          type: string
          description: Document expiration date in YYYY-MM-DD format
          example: '2030-12-31'
      required:
        - id
        - documentType
        - createdAt
      description: Response schema for a user document
      example:
        id: doc_abc123xyz
        documentType: id-passport
        createdAt: '2024-12-05T10:30:00.000Z'
        expiresAt: '2030-12-31'

````