---
title: "POST /api/investor-admin/{id}/documents"
method: POST
path: "/api/investor-admin/{id}/documents"
tags: ["InvestorAdmin"]
---

# POST /api/investor-admin/{id}/documents

`POST /api/investor-admin/{id}/documents`

## Request

- Base URL: `https://api.khaasfood.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.khaasfood.com/api/investor-admin/{id}/documents`
- Auth: OAuth 2
  - Authorization code: `https://api.khaasfood.com/connect/authorize`
  - Token URL: `https://api.khaasfood.com/connect/token`

## Path parameters

- `id` string, uuid, required

## Request body

- KhaasFoodHalalInvestmentsDTOsAddHalalInvestmentDocumentDto
  - `documentType` 1 | 2 | 3 | 4 | 5 | 6 | 7
  - `fileName` string, nullable
  - `fileUrl` string, nullable

## Response `200`

Success

- KhaasFoodHalalInvestmentsDTOsHalalInvestmentDocumentDto
  - `id` string, uuid
  - `halalInvestmentId` string, uuid
  - `documentType` 1 | 2 | 3 | 4 | 5 | 6 | 7
  - `documentTypeDisplayName` string, nullable
  - `fileName` string, nullable
  - `fileUrl` string, nullable
  - `creationTime` string, date-time

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error
- `501`: Server Error

## Changes

> 11 revisions in range; 1 not diffed.

- **2026-11-10** `50aa87d7d019`: 1 breaking, 4 info
  - removed the media type `multipart/form-data` from the request body
  - added the media type `application/*+json` to the request body
  - added the media type `application/json` to the request body
  - added the media type `application/json-patch+json` to the request body
  - …1 more
- **2026-11-01** `664d574d3e4d`: 3 warning, 1 info
  - added the new `7.00` enum value to the `documentType` response property for the response status `200` (media type: text/plain)
  - added the new `7.00` enum value to the `documentType` response property for the response status `200` (media type: application/json)
  - added the new `7.00` enum value to the `documentType` response property for the response status `200` (media type: text/json)
  - added the new `7.00` enum value to the request property `documentType`
- **2026-10-07** `89e4afdc079d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/khaasfood/apis/khaasfood-api/changes/api/investor-admin/:id/documents/post.md)

---

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