The Aircall integration enables CallGrid to receive real-time agent availability updates from your Aircall contact center environment. This integration uses Aircall's Public API to monitor user availability statuses and route calls intelligently based on agent availability.

Prerequisites
Before setting up this integration, ensure you have:
- An active Aircall account with administrative privileges
- Access to your Aircall Company Settings
- A generated API ID and API Token from your Aircall dashboard
Configuration Steps
Step 1: Generate API Credentials
- Log into your Aircall dashboard
- Navigate to Settings → Company Settings
- Scroll to the API Keys section
- Click Add a new API key
- Copy both the API ID and API Token immediately (the token cannot be retrieved later)
- Store these credentials securely
Step 2: Configure CallGrid Integration
Phase 1: Basic Template Setup
- Navigate to your CallGrid destination settings
- Click the Webhook tab
- Enable Webhook Integration
- Enable Template Mode
- Select Aircall from the Agent Availability templates
- Fill in the required field:
Required Configuration Fields
Basic Auth Token (Required)
- Format: API_ID:API_TOKEN (will be Base64 encoded automatically)
- Example: your_api_id:your_api_token_here
- This combines your Aircall API ID and API Token with a colon separator
- Click Save Webhook to proceed to advanced configuration
Phase 2: Advanced Configuration (Optional)
After saving your basic template configuration, you'll be taken to the advanced configuration screen. The system automatically builds the webhook URL and authentication headers for you.

Acceptance Parsing
The most important setting is the acceptance criteria, which determines when calls should be sent to this destination.
Minimum Agent Threshold The system is pre-configured to check for available agents. You can adjust the minimum number of agents required:
- Value: 0 - Accept calls when any agents are available (default)
- Value: 1 - Accept calls when at least 2 agents are available
- Value: 2 - Accept calls when at least 3 agents are available
- Value: 3 - Accept calls when at least 4 agents are available
Simply change the number in the "Value" field to set your minimum agent requirement.
Testing Your Configuration
To test your integration:
- Fill in your Basic Auth Token in the configuration box
- Click Run Webhook
- Verify the test passes and shows agent availability data
- Confirm the acceptance parsing criteria work correctly
The test will show you real data from your Aircall account and whether calls would be accepted based on your settings.
Advanced Configuration Examples
Example 1: Basic Available Agent Check
Acceptance Criteria:
- Condition: Greater Than
- Value: 0
This configuration accepts calls only when at least one agent shows as "available".
Example 2: Multiple Agent Threshold
Acceptance Criteria:
- Condition: Greater Than
- Value: 2
This setup ensures calls are accepted only when at least 3 agents are available.
Example 3: Higher Availability Requirements
Acceptance Criteria:
- Condition: Greater Than
- Value: 4
This configuration requires at least 5 available agents before accepting calls.
Troubleshooting
Common Issues
Authentication Failures
- Verify your API ID and API Token are correct and current
- Ensure the Basic Auth Token format is API_ID:API_TOKEN
- Check that your API credentials haven't been revoked or expired
No Agent Data Returned
- Confirm your Aircall account has active users
- Verify agents are logged into the Aircall system
- Check that your API credentials have proper permissions
Rate Limiting
- Aircall limits requests to 60 per minute per account
- Adjust CallGrid polling frequency if hitting rate limits
- Monitor for HTTP 429 responses indicating rate limit exceeded
Testing the Integration
To test your Aircall integration:
- Enter your API ID:API Token in the Basic Auth Token field
- Click Run Webhook button to test the connection
- Verify the test passes and shows your account's current agent data
- Confirm the acceptance parsing works correctly with your agent threshold
The webhook test will connect to your Aircall account in real-time and show you whether calls would be accepted based on your current agent availability and threshold settings.
Authentication Format
Aircall uses HTTP Basic Authentication where:
- API ID and API Token are concatenated with a colon: API_ID:API_TOKEN
- The resulting string is Base64 encoded automatically by CallGrid
- The Authorization header becomes: Authorization: Basic [ENCODED_STRING]
Rate Limits and Considerations
- API Rate Limit: 60 requests per minute per company
- Response Time: Typically under 200ms
- Data Freshness: Real-time availability statup
Support and Additional Resources
Aircall Documentation
CallGrid Support
If you need assistance with this integration:
- Check the CallGrid logs for error messages
- Verify all configuration parameters
- Test API connectivity using provided curl commands
- Contact CallGrid support with integration details
Related Articles
Continue exploring with these related insights
CallGrid Bid API - Advanced Integration Guide
The CallGrid Bid API allows custom platforms and developers to send real-time bid requests to CallGrid campaigns.
Read ArticlePosting Bids from CallGrid to CallGrid using RTB
This guide will walk you through setting up your CallGrid campaign to send bid requests to another CallGrid customer.
Read ArticleCall Recording Best Practices
Call recording laws vary by state. Some states require only your consent, while others require everyone's consent (all-party consent).
Read ArticleGetting Started with CallGrid
Welcome to CallGrid! This guide will walk you through your first steps to get your account up and running quickly.
Read ArticleAuthor
CallGrid Team
Article Info
Categories
Topics