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
- Support Multi-Account Viewers - Reuse one partner identity across independently approved customer organizations with read-only scope
- 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.
provisioned organizations are owned by your partner account. linked organizations remain owned by existing Answering Agent customers and default-deny partner writes unless their owner/admin grants the narrow dashboard-viewer capability.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 compact tokens that allow you to embed the Answering Agent dashboard. For multi-account viewers, issue a separate token for each
organization_id; the iframe exchanges it for a short-lived, organization-bound bearer.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:api.answeringagent.com hostname remains redirect-compatible for existing integrations, but should not be used for new clients.
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
Embed Dashboard
Integrate the dashboard into your app
Chat Widget
Add web chat to customer websites
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.
Multi-Account Viewer Flow
For an account manager who needs one login across several customer-owned organizations:- Confirm each customer organization is linked and reports
permissions.can_manage_dashboard_viewers: true. - Create the partner-owned identity once.
- Attach its
external_idto each approved organization withPUT /organizations/{organization_id}/dashboard-viewers/{external_id}. - Request a token with the selected
organization_idand replace the embed iframe when switching organizations. - Detach one relationship without deleting the identity or affecting other organizations.
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: support@answeringagent.com
- Documentation Issues: Report on GitHub or email support
- Security Concerns: security@answeringagent.com