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.
- Python —
IntraCord-sdkon PyPI - TypeScript —
@IntraCord/sdkon npm
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
- Build an agent — assemble nodes and edges, save as a draft
- Place an outbound call — trigger a call from an agent to a phone number
- MCP Server — let Claude and other coding agents drive the SDK for you