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

# Get client pending documents

> Retrieve pending or rejected documents for a client.

<Warning>
  **Deprecated.** This endpoint is no longer available in the public API and is kept for reference only.
</Warning>

Retrieves all pending or rejected documents for a specific client. Requires an API key with access level 1 or higher.

## Path parameters

<ParamField path="clientId" type="string" required>
  Unique identifier of the client.
</ParamField>

## Response

<ResponseField name="documents" type="array">
  List of pending documents. Each item includes `provider`, `type`, `name`, `description`, `require_image`, `require_back_image`, `require_number`, `require_expiration`, and `issue_reasons`.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.cryptomate.me/management/clients/client_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d/pending-documents" \
    -H "x-api-key: $CRYPTOMATE_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "documents": [
      {
        "provider": "BRIDGE",
        "type": "PASSPORT",
        "name": "Passport",
        "description": "A valid government-issued passport",
        "require_image": true,
        "require_back_image": false,
        "require_number": true,
        "require_expiration": true,
        "issue_reasons": ["image_unclear"]
      }
    ]
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "code": "NOT_FOUND",
    "message": "Client not found: client_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"
  }
  ```

  ```json 412 No Pending theme={null}
  {
    "code": "VAL",
    "message": "No pending documents for client, due to status: ACTIVE"
  }
  ```
</ResponseExample>
