---
title: "Attach uploaded evidence to pending enhanced diligence RFI"
method: POST
path: "/v1/customers/{id}/pending-enhanced-diligence-rfi/documents/{documentId}/attach"
tags: ["Customers"]
---

# Attach uploaded evidence to pending enhanced diligence RFI

`POST /v1/customers/{id}/pending-enhanced-diligence-rfi/documents/{documentId}/attach`

## Request

- Base URL: `https://sandbox.api.infinite.dev`
- URL: `https://sandbox.api.infinite.dev/v1/customers/{id}/pending-enhanced-diligence-rfi/documents/{documentId}/attach`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/infinite/apis/infinite-api/docs/v1/customers/:id/pending-enhanced-diligence-rfi/documents/:documentId/attach/post.ts> (a function with typed inputs; its response is checked against the schema)

Links a customer document from POST /v1/documents to the open automatic enhanced diligence RFI session before submit.

## Path parameters

- `id` string, required
- `documentId` string, required

## Headers

- `X-API-Key` string

## Request body

- AttachPendingEnhancedDiligenceRfiDocumentDto
  - `requirementId` string: Requirement id from get_pending_enhanced_diligence_rfi when the document type is OTHER or ambiguous.

## Response `200`

- AttachPendingEnhancedDiligenceRfiDocumentResponseDto
  - `success` boolean, required
  - `documentId` string, required

## Other responses

- `401`: Unauthorized - Invalid or missing authentication credentials

## Changes

- **2026-10-16** `1a74e21ea95b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/infinite/apis/infinite-api/changes/v1/customers/:id/pending-enhanced-diligence-rfi/documents/:documentId/attach/post.md)

---

[API](https://skmtc.dev/infinite/apis/infinite-api.md) - [All operations](https://skmtc.dev/infinite/apis/infinite-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infinite/apis/infinite-api/revisions/de172c453a2d?raw)
