Get User Preferences
GET/v1/users/{userId}/preferences
Retrieves the current preference settings for a user account.
Preferences control how the AI Voice Platform handles calls for this user, including:
- Call screening behavior and security level
- Assistant voice and greeting customization
- Notification settings
- Scam blocking configuration
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}
Responses
- 200
- 204
- 400
- 404
- 500
OK
Response Body
- ExtraSecure: Silently reject all scam and nuisance calls; screen all other unknown callers
- Secure: Silently reject calls from known scam numbers; screen unknown callers
- Safe: Screen unknown callers only (no automatic rejection)
Name of the user (used for personalized greetings)
John SmithTimezone identifier of the user
e.g. America/Los_Angeles
Android: https://developer.android.com/reference/java/util/TimeZone iOS: https://developer.apple.com/documentation/foundation/timezone
IETF BCP 47 language code for the user
Android: https://stackoverflow.com/a/33970189/9086067 iOS: https://developer.apple.com/documentation/mediaplayer/mpnowplayinginfolanguageoption/1623160-languagetag
Release ring the user belongs to (affects which feature flags will be provided to backend services)
Possible values: [alpha, beta, production]
True if the user does not want their name revealed to caller's during the screening process
True if the user wants to announce that the call is being recorded to the caller
Optional. The ID of the selected voice for the user's AI assistant.
Optional string that overrides the default screener greeting, if provided. There is a min character limit of 1 and a max character limit of 150.
If a whitespace only or empty string, the custom greeting is cleared and a default greeting will be used.
Possible values: <= 150 characters
If true, enables automatic blocking of suspected scam calls before they ring the subscriber's device. Blocking decisions are based on Hiya's global reputation database, which analyzes call patterns, community reports, and network intelligence. Changes to this setting are tracked in the audit log for consent management compliance.
If true, suspected scam callers are redirected to the Decoy Engagement Bot instead of being blocked. The bot engages scammers in conversation to waste their time and gather intelligence, while protecting the subscriber from the call. Changes to this setting are tracked in the audit log for consent management compliance.
Security level controlling which calls trigger AI assistant screening:
Possible values: [ExtraSecure, Secure, Safe]
If true, suppresses push notifications for screened calls
Example from Schema
{
"name": "John Smith",
"timezone": "America/Los_Angeles",
"language": "en-US",
"releaseRing": "production",
"keepUsernameHidden": false,
"announceCallRecording": true,
"assistantVoiceId": "voice_sarah_en_us",
"customScreenerGreeting": "Hi, you've reached John. Please leave a brief message.",
"scamBlockEnabled": true,
"redirectScamToChat": false,
"screenerSecurityLevel": "Secure",
"silenceScreener": false
}
User found but no notification tokens present
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."
}