Node.js SDK
Node.js SDK for voice AI
Install in one line, create agents, place calls, manage knowledge bases — all from Node.js.
npm install call2me-sdkexample.js
const { Call2Me } = require('call2me-sdk');
const client = new Call2Me('sk_call2me_...');
// Create an agent
const agent = await client.agents.create({
agent_name: 'Sales Agent',
voice_id: 'elevenlabs-selin',
language: 'tr-TR',
response_engine: {
type: 'call2me-llm',
system_prompt: 'You are a sales agent.'
}
});
// List all calls
const calls = await client.calls.list();
calls.forEach(c => console.log(c.call_id, c.call_status));
// Check balance
const balance = await client.wallet.balance();
console.log(`Balance: $${balance.balance_usd}`);Other SDKs
Start Building
$10 free credits. No credit card required.