Authentication & API Keys
Where do I get an API key?
Where do I get an API key?
Can I use the same API key for development and production?
Can I use the same API key for development and production?
- Playground (testing) - Use playground.answeringagent.com
- Production (live customers) - Use answeringagent.com
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. No additional signing, HMAC calculations, or timestamps are required. Authentication is simple and straightforward.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
- Separate playground and production environments
How is this different from the /api/auth/login endpoint?
How is this different from the /api/auth/login endpoint?
/api/auth/login endpoint is used internally by the Answering Agent dashboard for user logins. As a partner, you use API keys with the /api/v1/* endpoints instead. You never need to call the login endpoint.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?
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
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?
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?
429 Too Many Requests response.For high-volume integrations, contact [email protected] to discuss enterprise limits.Can I test the API without affecting production?
Can I test the API without affecting production?
- Playground:
https://playground.answeringagent.com - Production:
https://answeringagent.com
- Test your integration without affecting production
- Create test organizations and users
- Experiment with API calls
- Debug your implementation
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 for call events?
Can I get webhooks for call events?
- New call received
- Call ended
- Task created
- Customer follow-up needed
Is there a sandbox/test environment?
Is there a sandbox/test environment?
- During partner onboarding, you’ll receive playground credentials
- Build and test your integration using the playground
- Once ready, you’ll receive production credentials for answeringagent.com
- Playground uses test Twilio numbers (may have limitations)
- Production uses real phone numbers for live customer calls
- Keep your API keys separate between environments!
What data can I access via the API?
What data can I access via the API?
- Create/read/update/delete organizations
- Create/read/update/delete users
- Create/read/update/delete locations
- Generate embed tokens
Does the API support pagination?
Does the API support pagination?
Environments
What's the difference between Playground and Production?
What's the difference between Playground and Production?
| Feature | Playground | Production |
|---|---|---|
| Base URL | playground.answeringagent.com | answeringagent.com |
| Purpose | Testing & development | Live customer calls |
| Phone Numbers | Test numbers (may have limits) | Real, production-grade numbers |
| Data | Test data (can be deleted) | Customer data (permanent) |
| API Keys | Separate playground keys | Separate production keys |
| When to use | Building your integration | After integration is complete |
How do I get access to the Playground environment?
How do I get access to the Playground environment?
- Playground account credentials
- Playground API key
- Access to the playground dashboard
Can I use Playground for demos?
Can I use Playground for demos?
- Internal demos and testing
- Showing your team how the integration works
- QA and integration testing
- Customer demos (just make sure they know it’s a test environment)
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)
Does the Playground environment cost anything?
Does the Playground environment cost anything?
Still Have Questions?
We’re here to help!Technical Support
Documentation
Quickstart Guide
Security Issues
Can’t find your answer? Email [email protected] and we’ll get back to you quickly!