Skip to main content
The ThreeTone API provides a simple, RESTful interface to state-of-the-art voice AI capabilities. Build intelligent voice agents, manage conversations, integrate knowledge bases, and handle phone interactions with our comprehensive API.

Quick Start

Get started with a simple API call to create your first voice agent:
cURL

Core Concepts

Voice Agents

Create and manage AI-powered voice agents that can handle conversations, access knowledge bases, and integrate with phone systems.

Conversations

Track and analyze voice interactions with detailed conversation management, including transcripts, sentiment analysis, and performance metrics.

Knowledge Base

Provide context and intelligence to your agents by uploading documents, adding URLs, or creating custom content repositories.

Phone Integration

Connect your voice agents to phone systems for inbound and outbound call handling with advanced routing and queue management.

Base URL

All API requests should be made to:

Authentication

All requests must include your API key in the x-api-key header:
Get your API key from the ThreeTone Dashboard.

Request Format

Headers

All requests must include:
  • Content-Type: application/json
  • x-api-key: YOUR_API_KEY

Request Body

Request bodies should be valid JSON:

Response Format

All responses are returned in JSON format with appropriate HTTP status codes.

Success Response

Error Response

HTTP Status Codes

Pagination

List endpoints support cursor-based pagination for efficient data retrieval:

Paginated Response

Using Pagination

Use the cursor and limit query parameters:

Rate Limits

The API implements rate limiting to ensure fair usage:
  • Standard: 100 requests per minute
  • Burst: 1000 requests per hour
  • Headers: Rate limit information is included in response headers

Webhooks

Receive real-time notifications about events in your ThreeTone account:
  • Call Events: call_started, call_ended, call_transferred
  • Agent Events: agent_available, agent_busy, agent_offline
  • System Events: system_error, maintenance_scheduled
See the Webhooks Guide for detailed setup instructions.

SDKs and Libraries

Use the REST-first guides today:
  • Python - Production-ready Python examples with requests
  • JavaScript - Fetch-based Node.js integrations
  • TypeScript - Typed API wrappers and examples

Need Help?