---
title: "Upload 'other' files to customer"
method: POST
path: "/customers/{id}/files/other"
---

# Upload 'other' files to customer

`POST /customers/{id}/files/other`

## Request

- Base URL: `https://api.open-finance.ai/v3/loans`
- URL: `https://api.open-finance.ai/v3/loans/customers/{id}/files/other`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.open-finance.ai/oauth/token` scopes: `update:customers`

## Path parameters

- `id` string, required

## Request body

- object
  - `useCrm` boolean: Flag to indicate whether to use CRM for file processing
  - `apiName` 'customerBankDetails' | 'customerIdCard' | 'customerValidatedSecondId' | 'customerCertificateOfIncorporation' | 'customerProtocol' | 'customerIdAttachment' | 'customerAuthorizedDealerCard' | 'customerTaxDeductionAuthorization' | 'customerTerms' | 'customerNameChangeCertificate' | 'customerCompanyDraft' | 'customerNashaLicence', required: API name to associate the file with the customer
  - `file` object, required
    - `file` string, required: Base64 encoded content of the file
    - `fileName` string, required: Name of the file
    - `fileType` string, required: Type of the file (e.g., pdf, jpg)

## Response `201`

Uploaded

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Customer not found
- `500`: Internal server error

---

[API](https://skmtc.dev/open-finance/apis/loans.md) - [All operations](https://skmtc.dev/open-finance/apis/loans/llms.txt) - [OpenAPI document](https://skmtc.dev/open-finance/apis/loans/revisions/915c69e62042?raw)
