Skip to main content
GET
/
partner
/
commenda-os
/
customers
/
{customerId}
/
business-entities
/
{businessEntityId}
/
documents
List documents for a business entity
curl --request GET \
  --url https://api.prod.commenda.io/api/v1/partner/commenda-os/customers/{customerId}/business-entities/{businessEntityId}/documents \
  --header 'x-api-key: <api-key>'
{
  "documents": [
    {
      "documentType": "FORMATION_DOCUMENT",
      "documentSubType": "OperatingAgreement",
      "supportsDataStorage": false,
      "isTimeSensitive": false,
      "isUnique": true,
      "id": 900,
      "fileName": "operating-agreement.pdf",
      "fileUrl": "https://bucket.s3.amazonaws.com/operating-agreement.pdf",
      "complianceTag": "<string>",
      "compliancePurpose": "<string>",
      "dateOfIssuance": "<string>",
      "dateOfExpiration": "<string>",
      "effectiveStartDate": "<string>",
      "effectiveEndDate": "<string>",
      "data": {},
      "createdAt": 1735689600000,
      "updatedAt": 1735776000000,
      "deprecatedFieldsForFrontend": {},
      "explicitDocumentType": "<string>"
    }
  ],
  "count": 3
}

Documentation Index

Fetch the complete documentation index at: https://docs.commenda.io/llms.txt

Use this file to discover all available pages before exploring further.

List documents for a customer’s business entity.

Authorizations

x-api-key
string
header
required

Path Parameters

customerId
integer
required

Commenda customer identifier.

businessEntityId
integer
required

Commenda business-entity identifier for the specified customer.

Response

Documents retrieved successfully

documents
object[]
required
count
integer
required
Example:

3