API Reference
Getting Started with AgentPhone
Introduction
AgentPhone provides a REST API for provisioning phone numbers, managing AI agents, sending SMS, and placing voice calls. All endpoints return JSON and require Bearer token authentication.
Base URL
Available SDKs
TypeScript / JavaScript
Install with npm install agentphone — works in Node.js 18+, Deno, Bun, and Cloudflare Workers.
Python
Install with pip install agentphone — supports both sync and async clients, Python 3.9+.
Contribute
We welcome contributions to our SDKs. If you have suggestions or improvements, feel free to open a pull request on GitHub.
If there are other languages you’d like us to support, let us know!
