What You Can Build
The Partner API enables you to:- Provision Customer Organizations - Create and manage organizations for your customers
- Onboard Users - Add users to organizations with appropriate roles and permissions
- Setup Phone Numbers - Provision phone numbers (locations) with AI answering agents
- Embed Dashboards - Give customers access to their data through embedded dashboards
- Automate Workflows - Programmatically manage customers at scale
How It Works
The Partner API uses a simple, hierarchical structure:Key Concepts
Partner Account
Partner Account
Your account in Answering Agent. You authenticate with an API Key to manage all your customer organizations through the API.
Organizations
Organizations
Your customers’ businesses. Each organization has an owner, users, and locations (phone numbers). Organizations are the top-level container for your customers.
Users
Users
People who belong to organizations. Each organization has an owner (created with the org) and can have additional users. Users are identified by your system’s ID (
external_id).Locations
Locations
Phone numbers with AI answering agents. Each location belongs to an organization and has its own phone number, settings, and AI agent configuration.
External ID
External ID
Your unique identifier for users in your system. This allows you to maintain a mapping between your users and Answering Agent users without exposing internal IDs.
Embed Tokens
Embed Tokens
Secure tokens that allow you to embed the Answering Agent dashboard in your application, giving customers access to calls, tasks, and analytics.
Quick Start
Get started in 5 minutes:1
Get Your API Key
Sign in to your partner dashboard and navigate to Settings → API Keys to generate your API key.
2
Create Your First Organization
Use the API to create a customer organization with an owner user in a single call.
3
Add a Location
Provision a phone number for the organization to start receiving calls.
4
Embed the Dashboard
Get an embed token and integrate the dashboard into your app.
See the Quickstart Guide for a complete walkthrough with code examples.
API Structure
All Partner API endpoints follow this structure:Core Resources
Authentication
Learn how to authenticate with API keys
Organizations
Create and manage customer organizations
Users
Manage users within organizations
Locations
Set up phone numbers and AI agents
Advanced Features
Typical Integration Flow
Here’s how most partners integrate with Answering Agent:1
Customer Signs Up
A customer creates an account in your platform.
2
Create Organization
Your backend calls
POST /api/v1/organizations to create the organization and owner user.3
Setup Phone Number
Call
POST /api/v1/locations to provision a phone number for the customer.4
Get Embed Token
Call
GET /api/v1/users/{external_id}/embed-token to get a token for embedding.5
Show Dashboard
Embed the Answering Agent dashboard in your app using the embed token, giving customers access to their calls, tasks, and analytics.
Authentication Overview
The Partner API uses API keys for authentication:- Generate an API key from your partner dashboard
- Include the key in the
X-API-KEYheader for every request - That’s it! No complex signing or HMAC required
Authentication Guide
Complete authentication documentation with examples in multiple languages
Code Examples
All documentation includes code examples in multiple languages:- cURL (for testing)
- JavaScript/Node.js
- Python
- PHP
Example: Complete Onboarding
Here’s a complete example of onboarding a new customer:- JavaScript
- Python
Resources & Support
Quickstart Guide
Build your first integration in 5 minutes
API Reference
Complete endpoint documentation
FAQ
Answers to common questions
Email Support
Get help from our team
Need Help?
We’re here to support your integration:- Technical Questions: [email protected]
- Documentation Issues: Report on GitHub or email support
- Security Concerns: [email protected]