Caller ID validation
This section contains caller ID validation proto files.
Notes:
- To download Gatekeeper proto files, click download Gatekeeper proto files.
- Default values are determined by the gRPC specification. For more information, go to protocol buffers language guide .
calleridvalidation/ne/caller_id_validation_processor_service.proto
CallerIdValidationProcessor
This service allows validating caller IDs.
gRPC method definitions
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| ValidateCallerId | ValidateCallerId Request |
ValidateCallerId Response |
Validates the caller ID. |
| ValidateCallerIdExt | ValidateCallerIdExt Request |
ValidateCallerIdExt Response |
Validates the externally processed caller id. |
Methods with HTTP bindings
Notes:
-
REST API responses use the camel case naming convention, such as gkPersonId, but the REST API requests can either use the camel case or snake case naming convention, such as gk_person_id.
-
The following example displays root prefix and endpoint to build a complete URL, such as
https://gatekeeper.api.nuance.com/v1/audios/upload-url:- Root prefix for API:
https://gatekeeper.api.nuance.com - Endpoint:
/v1/audios/upload-url
To know more about root prefixes for API that can be used for different geographies, go to Sites.
- Root prefix for API:
ValidateCallerId
ValidateCallerIdExt
calleridvalidation/caller_id_validation_service_service.proto
CallerIdValidationService
This service allows validating caller IDs before the agent answers the call.
gRPC method definitions
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| ProcessPreAnswer | ProcessPreAnswer Request |
ProcessPreAnswer Response |
This method processes the caller ID once the call is initiated, before the agent answers the call. The system implicitly starts a new Engagement and a pre-call session after returning an API response. The reference_id sets to the engagement_id of the new engagement automatically. |
Methods with HTTP bindings
Notes:
-
REST API responses use the camel case naming convention, such as gkPersonId, but the REST API requests can either use the camel case or snake case naming convention, such as gk_person_id.
-
The following example displays root prefix and endpoint to build a complete URL, such as
https://gatekeeper.api.nuance.com/v1/audios/upload-url:- Root prefix for API:
https://gatekeeper.api.nuance.com - Endpoint:
/v1/audios/upload-url
To know more about root prefixes for API that can be used for different geographies, go to Sites.
- Root prefix for API:
ProcessPreAnswer
calleridvalidation/caller_id_risk_assessment_service.proto
CallerIdRiskAssessment
gRPC method definitions
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| AssessCallerIdRisk | AssessCallerIdRisk Request |
AssessCallerIdRisk Response |
Assess the caller ID’s risk-level against all known caller ID rules within a watchlist.
|
Methods with HTTP bindings
Notes:
-
REST API responses use the camel case naming convention, such as gkPersonId, but the REST API requests can either use the camel case or snake case naming convention, such as gk_person_id.
-
The following example displays root prefix and endpoint to build a complete URL, such as
https://gatekeeper.api.nuance.com/v1/audios/upload-url:- Root prefix for API:
https://gatekeeper.api.nuance.com - Endpoint:
/v1/audios/upload-url
To know more about root prefixes for API that can be used for different geographies, go to Sites.
- Root prefix for API:
AssessCallerIdRisk
calleridvalidation/ne/caller_id_validation_processor_messages.proto
CallerIdData
Input caller ID data. Included in ValidateCallerIdRequest.
| Field | Type | Description |
|---|---|---|
| reference_id | string | Optional. The reference ID of the caller ID processing result. |
| call_start_timestamp | google.protobuf.Timestamp | Mandatory. Date and time when the call started. |
| calling_number | string | Mandatory. The calling phone number. May contain numbers, spaces, dashes, the plus sign, or parenthesis. Included in the user of the ‘FROM’ header URI. |
| called_number | string | Mandatory. The called phone number. May contain numbers, spaces, dashes, the plus sign, or parenthesis. Included in the user of the ‘TO’ header URI. |
| telecom_network_id | string | Mandatory. The telecom network ID. |
| One of call_signaling_info: | Mandatory. The call signaling info. |
|
| sip_message | string | The SIP message in the RFC-3261 format. It must contain the raw SIP-INVITE message including headers and body. |
| gk_person_id | nuance.biosec.v1.UniqueId | Optional. The owner of the caller ID data. When set, the system refers to the caller ID data as personal information. |
ProcessCallerIdResult
Contains caller ID processing results. Included in ValidateCallerIdResult.
| Field | Type | Description |
|---|---|---|
| vendor_id | string | Mandatory. The ID of the vendor. |
| trust_indicator | google.protobuf.FloatValue | Mandatory. The raw trust indicator score. |
| additional_data | repeated ProcessCallerIdResult .AdditionalDataEntry | Mandatory. Additional processing result data. |
ProcessCallerIdResult.AdditionalDataEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
ValidateCallerIdExtRequest
Input message that defines parameters for ValidateCallerIdExt.
Uses the context field as follows:
- gk_engagement_id: Mandatory
- gk_session_id: Mandatory
- gk_scope_id: Mandatory
- configset_id: Optional
| Field | Type | Description |
|---|---|---|
| context | nuance.biosec.v1.Context | Mandatory. General request context. |
| version | string | Mandatory. The vendor API version used by the original query. The API returns the NOT_IMPLEMENTED status if version mismatch occurs. |
| raw_data | string | Mandatory. The raw result by the vendor. |
| gk_person_id | nuance.biosec.v1.UniqueId | Optional. The person with whom the caller ID result is associated with. When set, the system refers to the caller ID result as personal information. |
ValidateCallerIdExtResponse
Output message that defines parameters returned by ValidateCallerIdExt.
| Field | Type | Description |
|---|---|---|
| status | nuance.rpc.Status | Mandatory. General operation status. |
| result | ValidateCallerIdExtResult | Mandatory. The caller ID validation result. |
ValidateCallerIdExtResult
Contains the caller ID validation result. Included in ValidateCallerIdExtResponse.
| Field | Type | Description |
|---|---|---|
| vendor_data | VendorData | Mandatory. The vendor specific data. |
| risk_engine_result | nuance.biosec.v1.RiskEngineResult | Mandatory. The level of risk and its reliability, computed by the risk engine. |
| decision | nuance.biosec.v1.Decision | Mandatory. The caller ID validation decision. |
| decision_reason | DecisionReason | Mandatory. The reason for the decision. |
ValidateCallerIdRequest
Input message that defines parameters for ValidateCallerId.
Uses the context field as follows:
- gk_engagement_id: Mandatory
- gk_session_id: Mandatory
- gk_scope_id: Mandatory
- configset_id: Optional
| Field | Type | Description |
|---|---|---|
| context | nuance.biosec.v1.Context | Mandatory. General request context. |
| One of Data: | Mandatory. Specifies caller ID data. |
|
| reference_id | string | The reference ID of a previously set caller ID validation result. |
| caller_id_data | CallerIdData | The caller ID details. |
ValidateCallerIdResponse
Output message that defines parameters returned by ValidateCallerId.
| Field | Type | Description |
|---|---|---|
| status | nuance.rpc.Status | Mandatory. General operation status. |
| reference_id | string | Mandatory. The reference ID of the caller ID validation result. |
| result | ValidateCallerIdResult | Mandatory. The caller ID validation result. |
ValidateCallerIdResult
Contains the caller ID validation result. Included in ValidateCallerIdResponse.
| Field | Type | Description |
|---|---|---|
| processing_result | ProcessCallerIdResult | Mandatory. The caller ID processing result. |
| risk_engine_result | nuance.biosec.v1.RiskEngineResult | Mandatory. The level of risk and its reliability, computed by the risk engine. |
| decision | nuance.biosec.v1.Decision | Mandatory. The caller ID validation decision. |
| decision_reason | DecisionReason | Mandatory. The reason for the decision. |
VendorData
Contains the vendor specific data.
| Field | Type | Description |
|---|---|---|
| trust_indicator | google.protobuf.FloatValue | Mandatory. The raw trust indicator score. |
calleridvalidation/caller_id_validation_service_messages.proto
CallerIdData
Input caller ID data. Included in ProcessPreAnswerRequest.
| Field | Type | Description |
|---|---|---|
| reference_id | string | Optional. Reference ID of the caller ID processing result. |
| call_start_timestamp | google.protobuf.Timestamp | Mandatory. Date and time when the call started. |
| calling_number | string | Mandatory. The calling phone number. May contain numbers, spaces, dashes, the plus sign, or parenthesis. Included in the user of the ‘FROM’ header URI. |
| called_number | string | Mandatory. The called phone number. May contain numbers, spaces, dashes, the plus sign, or parenthesis. Included in the user of the ‘TO’ header URI. |
| telecom_network_id | string | Mandatory. The telecom network ID. |
| One of call_signaling_info: | Mandatory. The call signaling info. |
|
| sip_message | string | The SIP message in the RFC-3261 format. It must contain the raw SIP-INVITE message including headers and body. |
ProcessPreAnswerRequest
Input message that defines parameters for ProcessPreAnswer.
Uses the context field as follows:
- gk_engagement_id: Optional
- gk_session_id: Optional
- gk_scope_id: Mandatory
- configset_id: Optional
| Field | Type | Description |
|---|---|---|
| context | nuance.biosec.v1.Context | Mandatory. General request context. |
| caller_id_data | CallerIdData | Mandatory. Caller ID details. |
| correlation_id | string | Optional. The engagement’s correlation ID provided by the client. |
ProcessPreAnswerResponse
Output message that defines parameters returned by ProcessPreAnswer.
| Field | Type | Description |
|---|---|---|
| status | nuance.rpc.Status | Mandatory. General operation status. |
| reference_id | string | Mandatory. Reference ID of the caller ID processing result. |
| result | ProcessPreAnswerResult | Mandatory. Caller ID processing result. |
| gk_engagement_id | nuance.biosec.v1.UniqueId | Mandatory. Unique ID of the newly created engagement. |
ProcessPreAnswerResult
Contains caller ID processing results. Included in ProcessPreAnswerResponse.
| Field | Type | Description |
|---|---|---|
| result_attributes | repeated ProcessPreAnswerResult.ResultAttributesEntry | Mandatory. Caller ID processing result attributes. Contains a list of results for the configured caller ID vendor. |
ProcessPreAnswerResult.ResultAttributesEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
calleridvalidation/caller_id_risk_assessment_messages.proto
AssessCallerIdRiskRequest
Input message that defines parameters for AssessCallerIdRisk.
Uses the context field as follows:
- gk_engagement_id: Mandatory
- gk_session_id: Mandatory
- gk_scope_id: Mandatory
- configset_id: Mandatory
| Field | Type | Description |
|---|---|---|
| context | nuance.biosec.v1.Context | Mandatory. General request context. Defines the scope in which the caller ID rule should be created. |
| gk_callerid_watchlist_id | nuance.biosec.v1.UniqueId | Mandatory. The ID of caller ID watchlist which contains the caller ID rules. For each scope there is a default caller ID watchlist with the ID “00000000-0000-0000-0000-000000000000” created at the time of the scope creation, empty by default. |
| caller_id | string | Mandatory. Telephone number to be evaluated against caller ID rules. |
| gk_person_id | nuance.biosec.v1.UniqueId | Optional, owner of the caller ID. When set, the system handles the caller ID as personal information. |
AssessCallerIdRiskResponse
Output message that defines parameters returned by AssessCallerIdRisk.
| Field | Type | Description |
|---|---|---|
| status | nuance.rpc.Status | General operation status. |
| result | AssessCallerIdRiskResult | The caller ID risk assessment result. |
AssessCallerIdRiskResult
Contains the caller ID risk assessment result. Included in AssessCallerIdRiskResponse.
| Field | Type | Description |
|---|---|---|
| reference_gk_callerid_rule_id | nuance.biosec.v1.UniqueId | Optional. The caller ID rule matched for given caller ID. It is set only when the match is found. |
| risk_level | nuance.biosec.v1.CallerIdRiskLevel | Mandatory. The Risk level of the caller ID rule |
| risk_engine_result | nuance.biosec.v1.RiskEngineResult | Mandatory. The level of risk and its reliability, computed by the risk engine. |
| decision | nuance.biosec.v1.Decision | Mandatory. The caller ID risk evaluation decision. |
| decision_reason | DecisionReason | Mandatory. The reason for the decision. |
calleridvalidation/ne/caller_id_validation_processor_enums.proto
DecisionReason
The reason for the decision
| Name | Number | Description |
|---|---|---|
| DECISION_REASON_UNSPECIFIED | 0 | Decision reason is not specified. |
| DECISION_REASON_LOW_RELIABILITY | 1 | The system could not reach a reliable decision. |
| DECISION_REASON_NO_RISK_DETECTED | 2 | Risk is not detected. |
| DECISION_REASON_FRAUD_RISK | 3 | Fraud risk is detected. |
| DECISION_REASON_INTERNAL_ERROR | 999 | An error occurred while making the decision. |