Skip to main content

Introduction

IntraCord ships official SDKs for Python and TypeScript that wrap the IntraCord REST API and the workflow builder. Use them to create or edit agents, place outbound calls, and inspect runs from your own code.

Both packages are generated from the same backend OpenAPI spec, so the method surface is equivalent — only the naming convention differs (snake_case in Python, camelCase in TypeScript).

Install

pip install IntraCord-sdk
npm install @IntraCord/sdk

Authenticate

Generate an API key at /api-keys (or http://localhost:3010/api-keys for self-hosted). See API Keys for details.

Both SDKs read the API key from the IntraCord_API_KEY environment variable by default, and the base URL from IntraCord_API_URL (defaults to http://localhost:8000). You can also pass them explicitly.

from IntraCord_sdk import IntraCordClient

client = IntraCordClient(
base_url="https://app.IntraCord.com",
api_key="YOUR_API_KEY",
)
import { IntraCordClient } from "@IntraCord/sdk";

const client = new IntraCordClient({
baseUrl: "https://app.IntraCord.com",
apiKey: "YOUR_API_KEY",
});

Quick tour

List the agents in your workspace:

workflows = client.list_workflows()
for wf in workflows:
print(wf.id, wf.name)
const workflows = await client.listWorkflows();
for (const wf of workflows) {
console.log(wf.id, wf.name);
}

Next steps