Deprecated

Release 1.29.1 (Effective from 2nd March 2026)

Customer Documents Endpoint

Endpoint POST /api/v1/customers/{customerId}/documents

Change Type ⚠️ Breaking Change


🔄 Summary of Change

We are updating the request payload structure for uploading customer documents.

The files array will no longer be the primary required wrapper for document uploads. Instead, document fields will be accepted at the root level.


🧾 Previous Request Format (Deprecated)

{
  "files": [
    {
      "fileType": "organizationChart",
      "fileName": "OrganizationChart.pdf",
      "fileBlob": "data:image/pdf;base64,abdcxxxx"
    }
  ]
}

✅ New Request Format (Effective from 2nd March 2026)

{
  "fileType": "organizationChart",
  "fileName": "OrganizationChart.pdf",
  "fileBlob": "data:image/pdf;base64,abdcxxxx"
}