Report a Phone Number
POST/v1/users/{userId}/report
Reports a phone number as spam, scam, or unwanted, contributing to Hiya's global caller reputation database.
Report Categories
Users can report numbers for:
- Spam: Unsolicited marketing or robocalls
- Scam: Fraudulent calls attempting to deceive the user
Impact
Reports are aggregated across all users to:
- Update the number's reputation score in Hiya's database
- Improve spam/scam detection for all platform users
- Inform carrier-level blocking decisions
Privacy
The reporter's identity is not shared with the reported number. Reports are anonymized for aggregate analysis.
Path Parameters
UUID for the given user
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
requiredIf reporting from a particular call, the callId of the call
The raw phone number
The feedback from the user about reporting this number
Possible values: <= 1000 characters
User indicates whether they reported this number as Spam or Not Spam
Responses
- 200
- 400
- 404
- 500
OK
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."
}