Complete guides, API reference, and best practices for implementing QualityAI in your call center operations.
Connect QualityAI to your RingCentral system for real-time call monitoring.
// RingCentral Webhook URL
https://api.qualityai.com/webhooks/ringcentral
// Required Permissions
- Call Control
- Call Log
- Account Info
Integrate with Aircall for seamless call quality monitoring.
// Aircall Integration
API Key: your_aircall_api_key
Webhook: https://api.qualityai.com/webhooks/aircall
// Events to Subscribe
- call.created
- call.answered
- call.ended
Set up Five9 integration for enterprise call center monitoring.
// Five9 Configuration
Username: your_five9_username
Password: your_five9_password
Domain: your_domain.five9.com
// Real-time Events
- CallStarted
- CallEnded
- AgentStateChanged
Receive real-time alerts directly in your Slack channels.
// Slack Webhook Setup
1. Create Slack App
2. Add Incoming Webhook
3. Copy Webhook URL to QualityAI
4. Configure alert channels
Alert Type | Trigger | Example Use Case |
---|---|---|
Refund Request | Keywords: "refund", "money back", "cancel order" | Immediate manager intervention for retention |
Raised Voice | Voice tone analysis + volume detection | De-escalation support for angry customers |
Compliance Issue | Regulatory keywords + context analysis | Healthcare, financial services compliance |
Promise + No Resolution | "I'll call you back" + no follow-up action | Ensure customer commitments are kept |
Long Hold Time | Customer on hold > 3 minutes | Prevent customer abandonment |
curl -X GET "https://api.qualityai.com/v1/alerts" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
POST /v1/alert-rules
{
"name": "Refund Request Alert",
"triggers": ["refund", "money back"],
"conditions": {
"sentiment": "negative",
"confidence": 0.8
},
"actions": {
"slack_channel": "#quality-alerts",
"email": "manager@company.com"
}
}
GET /v1/alerts?status=active&limit=50
Response:
{
"alerts": [
{
"id": "alert_123",
"call_id": "call_456",
"agent_id": "agent_789",
"type": "refund_request",
"timestamp": "2024-01-15T10:30:00Z",
"confidence": 0.92,
"transcript": "I want my money back..."
}
]
}
Configure webhooks to receive real-time notifications when alerts are triggered.
{
"event": "alert.created",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"alert_id": "alert_123",
"call_id": "call_456",
"agent": {
"id": "agent_789",
"name": "Sarah Johnson",
"email": "sarah@company.com"
},
"customer": {
"phone": "+1234567890",
"name": "John Doe"
},
"alert_type": "refund_request",
"confidence": 0.92,
"transcript_snippet": "I want my money back, this is ridiculous!",
"sentiment_score": -0.8,
"recommended_action": "manager_intervention"
}
}
Still having issues? Contact our support team at support@qualityai.com