Skip to main content

Overview

This API surface is authenticated with an affiliate x-api-key and scoped to the companies your affiliate firm can access. Base URL:
https://api.prod.commenda.io/api/v1/public

Authentication

Pass your affiliate API key in the x-api-key header on every request.
curl --request GET \
  --url 'https://api.prod.commenda.io/api/v1/public/payment-intents' \
  --header 'x-api-key: <affiliate_api_key>'

Current Flow

  1. Create a company with POST /public/company.
  2. Start an incorporation service with POST /public/services.
  3. Poll payment intent and service status with the payment-intent endpoints.
  4. Use the Commenda OS documents endpoints for document retrieval.
  5. Download a concrete file with GET /public/file/{fileId}.

Contract Notes

  • Access is resolved through affiliate-firm ownership, not end-user login.
  • POST /public/services returns a paymentIntentId, which is the current public anchor for the flow.
  • GET /public/documents is deprecated. Callers should use the Commenda OS documents endpoints instead.

Commenda OS Read API

A separate Commenda OS API is also available under the same /public base URL.