Call2Me
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-sdk
example.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}`);

// Open a headless AI voice session — embed voice in your own app
const session = await client.voiceSessions.create(agent.agent_id);

// In the browser: connect with the helper (livekit-client is a peer dependency)
// import { startVoiceSession } from 'call2me-sdk/voice';
// import { Room } from 'livekit-client';
// await startVoiceSession({ url: session.url, token: session.token, Room });

Start Building

$5 free credits. No credit card required.

Build your voice agent in 10 minutes

No code. No credit card. Just a phone number.

Get Started FreeTalk to Sales
No credit card requiredStart Free