Submit Call Feedback
POST/v1/users/{userId}/calls/{callId}/feedback
Submit user feedback for a specific call, helping improve AI screening accuracy and caller reputation data.
Feedback Types
Users can provide feedback on:
- Screening Accuracy: Was the call correctly identified as spam/scam/legitimate?
- AI Assistant Performance: Did the assistant handle the call appropriately?
- Caller Identity: Correct or update the caller identification
Impact
Feedback is processed asynchronously and contributes to:
- Improving the AI screening model for better call classification
- Updating Hiya's global caller reputation database
- Refining personalized screening for this user's preferences
The 202 Accepted response indicates feedback was queued for processing.
Path Parameters
UUID for the given user
UUID for the given call
Header Parameters
Product version. The standard "major.minor.patch" format is highly encouraged without any leading characters; "2.1.3" or "3.0.0" for example.
The identifier of a logged-in user. Same identifier that is used for /users/{user_id}
Body
requiredOpaque tag from the call log record
User indicates whether they report this call as Spam or Not Spam
Freeform comment from the user about the call
Possible values: <= 1000 characters
Integers from 1 (low) to 5 (high). If using binary up/down approach, use 1 for thumbs down and 5 for thumbs up.
| Enum | Description | |-----------------------|---------------------------------------------| | incorrect_caller_name | Caller name was inaccurate | | incorrect_call_reason | Caller reason was inaccurate | | incorrect_action | Incorrect action was taken by assistant | | false_warning | Audio whisper warning was wrong | | late_warning | Audio whisper warning was too late | | poor_audio_quality | Poor audio quality on the call | | other | Other feedback |
string[]Possible values: [incorrect_caller_name, incorrect_call_reason, incorrect_action, false_warning, late_warning, poor_audio_quality, other]
Responses
- 202
- 400
- 404
- 500
Accepted
Bad Request
Response Body
A unique error ID for tracking and support purposes. Include this ID when contacting support.
err_7f3b9c2a-1234-5678-9abc-def012345678HTTP status code mirrored in the response body for convenience.
400A developer-friendly error message with technical details for debugging.
Invalid phone number format. Expected E.164 format (e.g., +14155551234)A user-friendly error message safe to display in the UI. Localized based on the Accept-Language header when available.
The phone number you entered is not valid. Please check and try again.Example from Schema
{
"errorId": "err_7f3b9c2a-1234-5678-9abc-def012345678",
"status": 400,
"errorDescription": "Invalid phone number format. Expected E.164 format (e.g., +14155551234)",
"displayError": "The phone number you entered is not valid. Please check and try again."
}
Not Found
Response Body
A unique error ID for tracking and support purposes. Include this ID when contacting support.
err_7f3b9c2a-1234-5678-9abc-def012345678HTTP status code mirrored in the response body for convenience.
400A developer-friendly error message with technical details for debugging.
Invalid phone number format. Expected E.164 format (e.g., +14155551234)A user-friendly error message safe to display in the UI. Localized based on the Accept-Language header when available.
The phone number you entered is not valid. Please check and try again.Example from Schema
{
"errorId": "err_7f3b9c2a-1234-5678-9abc-def012345678",
"status": 400,
"errorDescription": "Invalid phone number format. Expected E.164 format (e.g., +14155551234)",
"displayError": "The phone number you entered is not valid. Please check and try again."
}
Internal Server Error
Response Body
A unique error ID for tracking and support purposes. Include this ID when contacting support.
err_7f3b9c2a-1234-5678-9abc-def012345678HTTP status code mirrored in the response body for convenience.
400A developer-friendly error message with technical details for debugging.
Invalid phone number format. Expected E.164 format (e.g., +14155551234)A user-friendly error message safe to display in the UI. Localized based on the Accept-Language header when available.
The phone number you entered is not valid. Please check and try again.Example from Schema
{
"errorId": "err_7f3b9c2a-1234-5678-9abc-def012345678",
"status": 400,
"errorDescription": "Invalid phone number format. Expected E.164 format (e.g., +14155551234)",
"displayError": "The phone number you entered is not valid. Please check and try again."
}