Official client libraries to integrate Call2Me into your application
Full-featured Python client with async support, type hints, and Pydantic models.
pip install call2mefrom call2me import Call2Me client = Call2Me(api_key="YOUR_API_KEY") # Create an agent agent = client.agents.create( agent_name="Support Bot", voice_id="openai-nova", response_engine={"type": "call2me-llm", "system_prompt": "..."} ) # Make a call call = client.calls.create(agent_id=agent.agent_id, to_number="+905551234567")
TypeScript-first client with full type definitions and async/await support.
npm install @call2me/sdkimport { Call2Me } from '@call2me/sdk'; const client = new Call2Me({ apiKey: 'YOUR_API_KEY' }); // Create an agent const agent = await client.agents.create({ agentName: 'Support Bot', voiceId: 'openai-nova', responseEngine: { type: 'call2me-llm', systemPrompt: '...' } }); // Make a call const call = await client.calls.create({ agentId: agent.agentId, toNumber: '+905551234567' });
Idiomatic Go client with context support and comprehensive error handling.
go get github.com/call2me/go-sdkpackage main import call2me "github.com/call2me/go-sdk" func main() { client := call2me.NewClient("YOUR_API_KEY") // Create an agent agent, _ := client.Agents.Create(ctx, &call2me.CreateAgentParams{ AgentName: "Support Bot", VoiceID: "openai-nova", }) // Make a call call, _ := client.Calls.Create(ctx, &call2me.CreateCallParams{ AgentID: agent.AgentID, ToNumber: "+905551234567", }) }