Skip to main content
The fastest way to integrate the Corti API is through our official SDKs. They handle authentication, token refresh, WebSocket connections, pagination, retries, and error handling — so you can focus on building your healthcare application.

Official SDKs

JavaScript SDK

Full-featured SDK for Node.js and browser environments. Supports all REST endpoints, real-time WebSocket streaming, and every authentication flow.
npm install @corti/sdk

C# .NET SDK

Production-ready SDK for .NET 8+, .NET Framework 4.6.2+, and .NET Standard 2.0. Full API coverage with async/await and WebSocket support.
dotnet add package Corti.Sdk

Web Components

Dictation Web Component

Drop-in <corti-dictation> element with built-in UI for real-time speech-to-text. Handles microphone management, audio streaming, and transcript display. Works with any frontend framework or vanilla HTML.

Developer Tools

Postman Collection

Pre-built API requests for testing every Corti endpoint. Import into Postman and start exploring immediately.

Examples Repository

Working examples for JavaScript, C# .NET, React, and more — covering authentication flows, WebSocket streaming, dictation, proxy setups, and embedded assistant integration.

Why use an SDK?

Raw API callsWith an SDK
AuthenticationManual OAuth token exchange and refresh logicAutomatic — just provide credentials
Token managementTrack expiry, handle refresh races, store tokensBuilt-in with thread-safe refresh
WebSocketsRaw connection management, reconnection, message parsingManaged connections with typed events
Type safetyManual request/response validationFull JavaScript / C# type definitions
Error handlingParse HTTP status codes and error bodiesTyped exceptions with structured details
PaginationManual cursor/offset trackingfor await / await foreach iteration
RetriesImplement backoff for 429/5xxConfigurable automatic retries

Quickstart

Pick your language and follow the guide:
1

Get API credentials

Sign up at the Corti Console and create an API client. See Getting Access for details.
2

Install the SDK

npm install @corti/sdk
# or
yarn add @corti/sdk
# or
pnpm add @corti/sdk
3

Create a client

import { CortiClient } from "@corti/sdk";

const client = new CortiClient({
    environment: "YOUR_ENVIRONMENT_ID",
    tenantName: "YOUR_TENANT_NAME",
    auth: {
        clientId: "YOUR_CLIENT_ID",
        clientSecret: "YOUR_CLIENT_SECRET",
    },
});
4

Make your first API call

// Token acquisition and refresh happen automatically
const interactions = await client.interactions.list();

For support or questions, reach out through help.corti.app