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

# Upload investor KYC documents

> Uploads KYC evidence for an investor this partner created. Multipart/form-data; send any subset of the typed files in one request or across several. Each file max 10 MB; PDF, JPEG, PNG, WEBP. `approvalComments` or `approvalDocument` satisfies the compliance-approval requirement. Subscriptions for the investor are refused until `missingRequiredTypes` is empty.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/investors/{person_id}/kyc-documents
openapi: 3.1.0
info:
  title: Zest equity public api API
  version: 0.1.0
servers:
  - url: https://sandbox-api.zestequity.com
    description: Staging
security: []
tags:
  - name: Authentication
    description: >-
      OAuth 2.0 JWT-Bearer assertion grant. Exchange a partner-signed JWT for a
      short-lived bearer access token, then send that token in the Authorization
      header on every partner API call.
  - name: SPV Requests
    description: >-
      Submit SPV creation requests, inspect their lifecycle, and cancel pending
      ones. SPV requests are reviewed by Zest admins and produce SPV
      materialisation on approval.
  - name: Investors
    description: >-
      Bulk-create investor records with partial-success semantics. Each row
      carries its own status / error envelope so a single bad row never fails
      the batch.
  - name: Subscriptions
    description: Create one or more subscriptions for a single SPV.
  - name: Subscription Forms
    description: >-
      Upload signed subscription forms (PDF or image) for partner-managed
      subscriptions. Files are streamed to private storage and referenced on the
      Bid.
  - name: Subscription Fundings
    description: >-
      Upload wire-transfer receipts plus funding metadata. Strict order: a
      signed form must already be on record before fundings can be uploaded.
  - name: Contracts
    description: >-
      Read-only access to the spaas-contract registry (templates, catalogs,
      primitives, samples) used to validate SPV-request `attributes`.
  - name: System
    description: Service health and OpenAPI introspection endpoints.
  - name: KYC Documents
    description: >-
      KYC evidence for investors you created. Upload any subset per request;
      subscriptions are refused until every required type is on file.
paths:
  /v1/investors/{person_id}/kyc-documents:
    post:
      tags:
        - KYC Documents
      summary: Upload investor KYC documents
      description: >-
        Uploads KYC evidence for an investor this partner created.
        Multipart/form-data; send any subset of the typed files in one request
        or across several. Each file max 10 MB; PDF, JPEG, PNG, WEBP.
        `approvalComments` or `approvalDocument` satisfies the
        compliance-approval requirement. Subscriptions for the investor are
        refused until `missingRequiredTypes` is empty.
      operationId: uploadInvestorKycDocuments
      parameters:
        - required: true
          schema:
            type: string
            title: Person Id
          name: person_id
          in: path
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_uploadInvestorKycDocuments'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KycDocumentUploadResponse'
        '400':
          description: Empty request or too many otherDocuments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerErrorResponse'
        '401':
          description: Invalid token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerErrorResponse'
        '403':
          description: Service not provisioned for partner API
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerErrorResponse'
        '404':
          description: Investor not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerErrorResponse'
        '413':
          description: File too large (>10 MB)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerErrorResponse'
        '415':
          description: Unsupported media type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    Body_uploadInvestorKycDocuments:
      properties:
        idDocument:
          type: string
          format: binary
          title: Iddocument
        idVerificationReport:
          type: string
          format: binary
          title: Idverificationreport
        proofOfAddress:
          type: string
          format: binary
          title: Proofofaddress
        kycForm:
          type: string
          format: binary
          title: Kycform
        screeningResults:
          type: string
          format: binary
          title: Screeningresults
        riskAssessment:
          type: string
          format: binary
          title: Riskassessment
        approvalDocument:
          type: string
          format: binary
          title: Approvaldocument
        otherDocuments:
          items:
            type: string
            format: binary
          type: array
          title: Otherdocuments
        approvalComments:
          type: string
          title: Approvalcomments
      type: object
      title: Body_uploadInvestorKycDocuments
    KycDocumentUploadResponse:
      properties:
        createdAt:
          type: string
          format: date-time
          title: Createdat
        documents:
          items:
            $ref: '#/components/schemas/KycDocumentItem'
          type: array
          title: Documents
        missingRequiredTypes:
          items:
            type: string
          type: array
          title: Missingrequiredtypes
      type: object
      required:
        - createdAt
        - documents
        - missingRequiredTypes
      title: KycDocumentUploadResponse
    PartnerErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
          default: 'ex: Something went wrong'
          examples:
            - Something went wrong
        errorId:
          type: string
          title: Errorid
        code:
          type: string
          title: Code
          description: Stable top-level error code (see PartnerErrorCode enum).
        validationErrors:
          items:
            $ref: '#/components/schemas/PartnerValidationError'
          type: array
          title: Validationerrors
          description: Populated only when code='validation_error'.
      type: object
      required:
        - code
      title: PartnerErrorResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    KycDocumentItem:
      properties:
        type:
          type: string
          title: Type
        name:
          type: string
          title: Name
      type: object
      required:
        - type
        - name
      title: KycDocumentItem
    PartnerValidationError:
      properties:
        attribute:
          type: string
          title: Attribute
          description: Attribute path (e.g. 'deal_name', 'share_class.name').
        code:
          type: string
          title: Code
          description: Stable validation error code (see ValidationErrorCode enum).
        message:
          type: string
          title: Message
          description: Human-readable message.
      type: object
      required:
        - attribute
        - code
        - message
      title: PartnerValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.