Skip to main content
Welcome to the Answering Agent Partner API! This documentation will help you integrate AI-powered phone answering capabilities into your platform, allowing you to offer 24/7 customer support to your customers.

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

Your account in Answering Agent. You authenticate with an API Key to manage all your customer organizations through the API.
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.
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).
Phone numbers with AI answering agents. Each location belongs to an organization and has its own phone number, settings, and AI agent configuration.
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.
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.
If you manage dashboards for customer-owned organizations, start with the multi-organization viewer workflow. It preserves customer ownership, requires explicit approval per organization, and keeps the embedded dashboard read-only.

API Structure

All Partner API endpoints follow this structure:
This is the permanent production URL. The legacy 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:
  1. Confirm each customer organization is linked and reports permissions.can_manage_dashboard_viewers: true.
  2. Create the partner-owned identity once.
  3. Attach its external_id to each approved organization with PUT /organizations/{organization_id}/dashboard-viewers/{external_id}.
  4. Request a token with the selected organization_id and replace the embed iframe when switching organizations.
  5. Detach one relationship without deleting the identity or affecting other organizations.
This access is read-only and is revoked immediately when the viewer relationship, owner grant, partner link, membership, or user is removed.

Authentication Overview

The Partner API uses API keys for authentication:
  1. Generate an API key from your partner dashboard
  2. Include the key in the X-API-KEY header for every request
  3. 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
Each endpoint shows complete request and response examples with real-world use cases.

Example: Complete Onboarding

Here’s a complete example of onboarding a new customer:

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: Let’s build something amazing together! 🚀