Authentication & API Keys
Where do I get an API key?
Where do I get an API key?
Should I use one API key everywhere?
Should I use one API key everywhere?
What happens if my API key is compromised?
What happens if my API key is compromised?
Do I need to sign my requests with HMAC or add timestamps?
Do I need to sign my requests with HMAC or add timestamps?
X-API-KEY header. Requests are not signed, so the key is the only credential. Keep it on your server, and revoke it if it leaks.Can I use multiple API keys simultaneously?
Can I use multiple API keys simultaneously?
- Key rotation (generate new, update systems, then revoke old)
- Different services or teams using separate keys
Organizations & Users
What's the difference between an organization and a user?
What's the difference between an organization and a user?
- Organization: Your customer’s business (e.g., “Pizza Palace”). Contains users and locations.
- User: A person who belongs to an organization (e.g., “Maria Rodriguez, owner of Pizza Palace”)
What is an 'external_id' and why do I need it?
What is an 'external_id' and why do I need it?
external_id is your system’s unique identifier for a user. It allows you to:- Link Answering Agent users to your database without exposing internal IDs
- Look up users using your own IDs instead of ours
- Maintain a clean mapping between systems
"user_12345" in your database, use that as the external_id when creating them in Answering Agent.Can a user belong to multiple organizations?
Can a user belong to multiple organizations?
user. Request embed tokens with the intended organization_id.Can a partner attach viewers to any linked organization?
Can a partner attach viewers to any linked organization?
permissions.can_manage_dashboard_viewers on the organization response; it cannot self-approve the grant.What happens when I detach a multi-organization viewer?
What happens when I detach a multi-organization viewer?
DELETE /organizations/{organization_id}/dashboard-viewers/{external_id} removes access only to that organization. The user identity and other organization relationships remain. Existing compact and exchanged tokens for the detached relationship stop authorizing requests.Can I create an organization without creating a user?
Can I create an organization without creating a user?
What happens when I delete an organization?
What happens when I delete an organization?
How do I handle customers who already exist in my system?
How do I handle customers who already exist in my system?
- Use their existing ID from your system as the
external_id - Use their real email address
- Store the returned
organization.idin your database
Locations & Phone Numbers
What is a 'location' in Answering Agent?
What is a 'location' in Answering Agent?
- Has its own phone number
- Belongs to one organization
- Has customizable AI agent settings
- Receives and tracks calls independently
How do phone numbers get provisioned?
How do phone numbers get provisioned?
area_code, we automatically provision a phone number from Twilio in that area code. The number is assigned and ready to receive calls immediately.If you don’t specify an area_code, the location is created with status: "pending" and no phone number. You can assign one later.Can I use my own phone number (porting)?
Can I use my own phone number (porting)?
What happens if no phone numbers are available in my area code?
What happens if no phone numbers are available in my area code?
- A nearby area code
- Calling our support team for assistance
- Creating the location without an area code, then contacting support to manually assign a number
Can I have multiple locations (phone numbers) per organization?
Can I have multiple locations (phone numbers) per organization?
- Multi-location businesses (franchises, chains)
- Businesses with department-specific numbers
- Organizations testing different AI configurations
How much does each phone number cost?
How much does each phone number cost?
Embedding & Dashboard Access
What are embed tokens and when do I need them?
What are embed tokens and when do I need them?
- Call history and recordings
- Tasks and follow-ups
- Analytics and insights
- AI agent settings for normal provisioned users
How do embed tokens differ from API keys?
How do embed tokens differ from API keys?
- API Keys: Used by your backend to manage organizations, users, and locations via API
- Embed Tokens: Used by your frontend to display a customer’s dashboard in your app
Do embed tokens expire?
Do embed tokens expire?
Can I customize the embedded dashboard?
Can I customize the embedded dashboard?
What happens if I regenerate an embed token?
What happens if I regenerate an embed token?
organization_id: regeneration immediately invalidates previous tokens for that organization relationship only. Other approved organization contexts remain valid. For an unscoped provisioned user, the existing user-wide rotation behavior still applies.What else revokes a scoped viewer token?
What else revokes a scoped viewer token?
Integration & Best Practices
Should I create organizations in real-time or batch?
Should I create organizations in real-time or batch?
How should I store Answering Agent data in my database?
How should I store Answering Agent data in my database?
organization_id- Link to your customer recordphone_number- Display in your UIembed_token- Show embedded dashboard
external_id you used when creating users so you can easily make API calls later.What if my customer wants to cancel their account?
What if my customer wants to cancel their account?
- Delete all locations for the organization (
DELETE /locations/{id}) - Remove all users from the organization
- Delete the organization (
DELETE /organizations/{id})
How do I handle errors in the API?
How do I handle errors in the API?
200/201- Success401- Unauthorized (check your API key)404- Resource not found422- Validation error (check request body)500- Server error (contact support)
error or message field explaining the issue.What's the API rate limit?
What's the API rate limit?
POST /partner-links) and updating partner links (PATCH /partner-links/{link}) allow 10 requests per minute for each user. Over the limit, the API returns 429 with a Retry-After header. Other Partner API endpoints have no published per-key limit.The Customer API allows 120 requests per minute for each user.For high-volume integrations, contact support@answeringagent.com.Is there a test environment?
Is there a test environment?
https://answeringagent.com/api/v1. Creating a location with an area_code provisions a real phone number.Email support@answeringagent.com to plan testing before you go live.Technical Questions
What happens to call data when I delete a location?
What happens to call data when I delete a location?
Can I get webhooks?
Can I get webhooks?
task.created event to one HTTPS address per team the moment the AI creates a task. A team owner or admin sets the address in Settings → Webhooks. See Webhooks for the payload and delivery rules.task.created is the only event today.What data can I access via the API?
What data can I access via the API?
- Partner API (reseller accounts): create, read, update, and delete organizations, users, and locations, manage partner links, and issue embed tokens. It does not return conversations, transcripts, or tasks.
- Customer API (any team): read a team’s conversations, transcripts, call recordings, tasks, contacts, and reports. It reads the team of the person who created the key. It can also update a task’s status and assignee.
Does the API support pagination?
Does the API support pagination?
Billing & Pricing
How does billing work for partners?
How does billing work for partners?
Do I get charged for API calls?
Do I get charged for API calls?
- Active phone number (location)
- Call minutes used
- Number of organizations
Can my customers pay directly?
Can my customers pay directly?
- Bill customers directly (you handle billing)
- Have us bill customers (we handle billing)
- Mix of both (you bill for your service, we bill for phone services)
Still Have Questions?
We’re here to help!Technical Support
Documentation
Quickstart Guide
Security Issues
Can’t find your answer? Email support@answeringagent.com and we’ll get back to you quickly!