Skip to main content
This guide shows how to authenticate with the Corti API using OAuth 2.0 client credentials. The fastest way to authenticate is with an official SDK. The SDK handles the OAuth2 token exchange and refresh automatically. See SDK overview for setup and usage details. Install SDK to your project:
Create a client to call API:
If you only need a token:
For full SDK authentication documentation including bearer tokens, PKCE, authorization code, and ROPC flows, see the JavaScript Authentication Guide or the .NET Authentication Guide.

Authenticate using manual code examples

If you prefer to handle OAuth manually without an SDK, use the examples below:
Tokens expire after 300 seconds (5 minutes), refresh as needed.