Create Review
Assign a call analysis for review by creating a new review task.
Request
The ID of the analysis to review
User ID to assign the review to. If not specified, uses auto-assignment
Review priority: low, normal, high, urgent
Review deadline (ISO 8601 timestamp)
Special instructions for the reviewer
Type of review: standard, detailed, compliance, quality
Whether a second reviewer is required
Response
Unique identifier for the review
Assigned reviewer informationShow assignedTo properties
Review status: pending, in_progress, completed, escalated
Examples
curl -X POST https://api.authentivoice.com/v1/reviews \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"analysisId": "ana_1234567890abcdef",
"priority": "high",
"deadline": "2024-01-16T17:00:00Z",
"instructions": "Please verify the caller identity claims",
"reviewType": "detailed"
}'
Response Example
{
"reviewId": "rev_abc123def456",
"analysisId": "ana_1234567890abcdef",
"assignedTo": {
"userId": "user_789012",
"email": "reviewer@company.com",
"name": "Jane Reviewer"
},
"status": "pending",
"priority": "high",
"reviewType": "detailed",
"createdAt": "2024-01-15T12:00:00Z",
"deadline": "2024-01-16T17:00:00Z"
}
Auto-Assignment
When assignedTo is not specified, the system uses intelligent assignment:
{
"analysisId": "ana_1234567890abcdef",
"priority": "high",
"reviewType": "standard"
}
The system will:
- Check reviewer availability
- Match expertise to call type
- Balance workload
- Consider priority and deadline
Error Responses
Analysis not found{
"error": {
"code": "ANALYSIS_NOT_FOUND",
"message": "The specified analysis was not found"
}
}
Review already exists{
"error": {
"code": "REVIEW_EXISTS",
"message": "A review already exists for this analysis",
"existingReviewId": "rev_existing123"
}
}
Invalid assignment{
"error": {
"code": "INVALID_ASSIGNMENT",
"message": "The specified user cannot be assigned reviews"
}
}