Skip to main content

Detect Scam Call event

The events sent to the client on the Detect Scam Call API.

    An event emitted when processing the audio stream has yielded a result.


    callScamRiskstringrequired

    The overall scam risk of the call, based on the callOriginatorRisk, scamDialog and syntheticVoice factors.

    Format: CallScamRisk (string)

    Possible values: [NOT_SCAM, MEDIUM_SCAM_RISK, HIGH_SCAM_RISK]

    Example: MEDIUM_SCAM_RISK

    callOriginatorRiskstringrequired

    The risk associated with the call originator, regardless of the content of the call.

    Format: CallOriginatorRisk (string)

    Possible values: [UNKNOWN, LOW, MEDIUM, HIGH]

    Example: MEDIUM

    scamDialog

    object

    required


    scamDialogRiskstringrequired

    The scam risk based on the speech content in the audio stream.

    Format: ScamDialogRisk (string)

    Possible values: [SCAM, NEUTRAL]

    Example: SCAM

    confidencestringrequired

    The confidence level of the scamDialogRisk field.

    Format: ScamDialogConfidence (string)

    Possible values: [LOW, HIGH]

    Example: HIGH

    syntheticVoice

    object

    required


    syntheticVoiceDetectedstringrequired

    Whether the caller in the audio stream has been detected as a synthetic voice.

    Format: SyntheticVoiceDetected (string)

    Possible values: [YES, NO]

    Example: YES

    scorenumberrequired

    The score associated with the syntheticVoiceDetected field. 0 means total confidence in the voice being synthetic, 1 in being non-synthetic.

    Format: double
    Example: 0.1

    typestringrequired

    Type discriminator.

    Default value: result
    Example: result
Detect Scam Call event
{
"callScamRisk": "MEDIUM_SCAM_RISK",
"callOriginatorRisk": "MEDIUM",
"scamDialog": {
"scamDialogRisk": "SCAM",
"confidence": "HIGH"
},
"syntheticVoice": {
"syntheticVoiceDetected": "YES",
"score": 0.1
},
"type": "result"
}