Skip to main content
The official TypeScript SDK for the Commenda Integrations V4 API is @commenda-integrations/api.

Installation

Import the client:

Instantiate the client

Instantiate with your API key (generate keys in the Commenda dashboard). It targets production by default; pass baseUrl to point elsewhere for local development.
Resources are namespaced: commenda.core.* for platform & management endpoints, and commenda.dataModels.* for the unified data models.

Run your first request

Core API

Unified API

Iterate every page with the paginate helper:

Error handling

Non-2xx responses throw a CommendaApiError: