Callback
When the analytics
parameter is set to callback
and the callback
parameter contains a valid URL, the platform will POST a request to the specified address with the analytics data in JSON format.
{
"analytics": {
"status": "completed",
"sid": "collections",
"insights": [
{
"name": "Social Security Number",
"speaker": "Agent",
"timestamp": 21.46,
"label": "[SSN]",
"audio_redacted": false,
"text_redacted": false,
"response": true,
"response_label": "[SSN]",
"response_timestamp": 24.43,
"response_audio_redacted": true,
"response_text_redacted": true,
"compliance_violation": false,
"group": "Account Verification"
},
{
"name": "Email",
"speaker": "Client",
"timestamp": 186.39,
"label": "|Email|",
"type": "PII",
"custom": false,
"audio_redacted": true,
"text_redacted": true,
"response": false,
"compliance_violation": false,
"group": "Account Verification"
}
],
"entities": [
{
"type": "USSocialSecurityNumber",
"label": "[SSN]",
"start": 24.43,
"end": 25.63,
"redacted": true
},
{
"type": "Email",
"label": "[EMAIL]",
"start": 186.39,
"end": 186.83,
"redacted": true
}
]
}
}
Note: Custom headers must be in JSON format.
Last updated