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

# Get Document Request

> Retrieve detailed information about a specific document request.

Retrieve detailed information about a specific document request. This endpoint provides the same data structure as the list endpoint but for a single, specific request identified by its ID.

Use this endpoint to check the latest status of a request, see how many files have been uploaded, or verify expiration details before performing other actions like resending or deleting.

<Note>
  This endpoint requires the **Document Requests** feature to be enabled for your organisation. If you receive a `403` with `request.organisations.module.not-enabled`, contact your organisation admin to have it activated. [Learn more](/guides/feature-modules).
</Note>

## Best Practices

1. **Check Status Before Actions**: Always verify the current status before resending or deleting a request to ensure the action is still appropriate.
2. **Monitor Progress**: Use the `uploaded_files_count` and `completed_at` fields to track recipient progress and automate internal workflows.
3. **Error Handling**: Implement logic to handle 404 responses gracefully in case a request has been deleted or expired.


## OpenAPI

````yaml GET /document-requests/{id}
openapi: 3.1.0
info:
  title: Veridox Core API
  description: Veridox Core Platform API
  version: 0.0.1
  contact: {}
servers:
  - url: https://api.uk.veridox.ai
    description: Live (UK)
  - url: https://api.ca.veridox.ai
    description: Live (CA)
security: []
tags:
  - name: Status
    description: System status and health check endpoints
  - name: Cases
    description: Case and case file management
  - name: Organisations
    description: Organisation management
  - name: Document Requests
    description: Document request management
  - name: Search
    description: Search functionality
  - name: Admin
    description: Administrative endpoints
paths:
  /document-requests/{id}:
    get:
      tags:
        - Document Requests
      summary: Get document request details
      description: Returns detailed information about a specific document request by ID.
      operationId: DocumentRequestsController_getDocumentRequest
      parameters:
        - name: id
          required: true
          in: path
          description: Document request ID
          schema:
            type: string
      responses:
        '200':
          description: Document request details retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentRequestResponseDto'
        '401':
          description: Unauthorized (invalid or missing authentication token)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
        '404':
          description: Document request not found or not owned by user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
        '429':
          description: Too many requests (rate limit exceeded)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
      security:
        - api-key: []
components:
  schemas:
    DocumentRequestResponseDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
          pattern: >-
            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-parent-additional-properties: false
        case_id:
          type: string
          format: uuid
          pattern: >-
            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-7[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-parent-additional-properties: false
        recipient_email:
          type: string
          format: email
          pattern: >-
            ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-parent-additional-properties: false
        recipient_name:
          anyOf:
            - type: string
            - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
          x-nestjs_zod-parent-additional-properties: false
        label:
          type: string
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-parent-additional-properties: false
        status:
          type: string
          enum:
            - pending
            - completed
            - expired
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-parent-additional-properties: false
        expires_at:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-parent-additional-properties: false
        max_files:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-parent-additional-properties: false
        created_at:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-parent-additional-properties: false
        updated_at:
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-parent-additional-properties: false
      required:
        - id
        - case_id
        - recipient_email
        - recipient_name
        - label
        - status
        - expires_at
        - max_files
        - created_at
        - updated_at
    ErrorDto:
      type: object
      properties:
        error_code:
          type: string
          description: Machine-readable error code for programmatic handling
          examples:
            - request.cases.file.missing-risk-score
            - request.authentication.invalid-token
            - request.forbidden
            - request.cases.case.not-found
            - request.cases.case.already-locked
        error_message:
          type: string
          description: Human-readable error message explaining what went wrong
          example: >-
            User tried to perform an invalid operation on a file without a risk
            score.
        error_details:
          type: object
          example:
            field: email_address
      required:
        - error_code
        - error_message
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-api-key

````