---
title: "Upload a document for a shareholder. Requires multipart/form-data with fields: file (binary) and documentType (string)"
method: POST
path: "/api/v1/merchants/{merchantId}/shareholders/{shareholderId}/documents"
tags: ["Shareholder Documents"]
---

# Upload a document for a shareholder. Requires multipart/form-data with fields: file (binary) and documentType (string)

`POST /api/v1/merchants/{merchantId}/shareholders/{shareholderId}/documents`

## Request

- Base URL: `https://core.quidkey.com`
- URL: `https://core.quidkey.com/api/v1/merchants/{merchantId}/shareholders/{shareholderId}/documents`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/banqzinc/apis/quidkey-api/docs/api/v1/merchants/:merchantId/shareholders/:shareholderId/documents/post.ts> (a function with typed inputs; its response is checked against the schema)

Upload a document for a shareholder. Requires multipart/form-data with fields: file (binary) and documentType (string)

## Path parameters

- `merchantId` string, uuid, required: The unique identifier of the merchant
- `shareholderId` string, uuid, required: The unique identifier of the shareholder

## Request body `multipart/form-data`

- ShareholderDocumentUploadRequest: Multipart form data for shareholder document upload
  - `file` string, binary, required: The document file to upload (PDF, JPG, PNG, DOC, or DOCX)
  - `documentType` 'PROOF_OF_ADDRESS', required: Valid document types for shareholder documents

## Response `201`

Created

- ShareholderDocumentUploadResponse
  - `success` boolean, required: Indicates if the request was successful
  - `data` object, required: Shareholder document metadata
    - `id` string, uuid, required: Unique document ID
    - `documentType` 'PROOF_OF_ADDRESS', required: Valid document types for shareholder documents
    - `fileName` string, required: Original file name
    - `uploadedAt` string, date-time, required: Upload timestamp

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found

## Changes

- **2026-06-17** `b372e7d5563d`: 1 info
  - endpoint added
- **2025-11-02** `919eb7a392aa`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/banqzinc/apis/quidkey-api/changes/api/v1/merchants/:merchantId/shareholders/:shareholderId/documents/post.md)

---

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