Authentication
All API requests to Ringyo AI require authentication using an API key. This guide explains how to create, manage, and use API keys.API Keys
API keys are used to authenticate requests to the Ringyo AI API. Each key has specific permissions and rate limits based on your plan.Plan Requirements
| Plan | API Access | Rate Limit | Max Keys |
|---|---|---|---|
| Trial | ❌ | - | - |
| Starter | ❌ | - | - |
| Pro | ✅ | 300 req/min | 5 |
| Agency | ✅ | 1,000 req/min | Unlimited |
API access is available on Pro and Agency plans. Upgrade your plan to get started.
Creating an API Key
Open Developer Settings
Go to your Ringyo AI Dashboard and click Developers in the sidebar.
Create New Key
Click Create Key and provide:
- Name: A descriptive name (e.g., “Production”, “n8n Integration”)
- Permissions: Select which actions the key can perform
Using Your API Key
Include your API key in theAuthorization header of every request:
Example Request
Key Permissions
API keys can be scoped to specific permissions:| Permission | Description |
|---|---|
calls:read | View call history and details |
calls:write | Initiate outbound calls |
agents:read | View voice agent configurations |
agents:write | Create and modify voice agents |
contacts:read | View contacts |
contacts:write | Create and modify contacts |
appointments:read | View appointments |
appointments:write | Create and modify appointments |
phone_numbers:read | View phone numbers |
analytics:read | View analytics and reports |
webhooks:manage | Manage webhook endpoints |
Rate Limiting
API requests are rate-limited based on your plan:- Pro: 300 requests per minute
- Agency: 1,000 requests per minute
429 Too Many Requests response:
Best Practices
- Implement exponential backoff for retries
- Cache responses where appropriate
- Use webhooks instead of polling for real-time updates
- Batch operations when possible
Key Security
Security Best Practices
- Store keys securely — Use environment variables, not code
- Rotate regularly — Generate new keys periodically
- Use separate keys — Different keys for production/staging
- Monitor usage — Review API logs for suspicious activity
- Revoke compromised keys — Immediately revoke any exposed keys
Revoking a Key
If a key is compromised or no longer needed:- Go to Dashboard → Developers
- Find the key you want to revoke
- Click the Revoke button
- Confirm the action
Troubleshooting
Common Errors
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
The API key doesn’t have permission for this action.Solution: Update the key’s permissions or create a new key with the required permissions.
429 Too Many Requests
429 Too Many Requests
You’ve exceeded your rate limit.Solution: Wait for the
retry_after period, then retry with exponential backoff.Need Help?
If you’re having trouble with authentication:- Check our API Reference
- Join our Discord community
- Contact support@ringyo.ai