Install and configure the Contro Partner SDK for Node.js or Python
Contro provides official SDKs generated from our OpenAPI specification. They include full TypeScript/Python types, automatic pagination, retries, and error handling.
import Contro from "@contro/partner-sdk";const contro = new Contro({ apiKey: "sk_test_your_key_here",});
Store your API key in an environment variable (CONTRO_API_KEY) rather than hardcoding it. Both SDKs read from this variable automatically when no key is passed.