Video Agreement Webhooks
The following are the webhooks for the Video Agreement Tool. The webhooks have the following IDs:
video-agreement-validation
video-agreement-validation
Step Completed
{
"status": 200,
"id": "video-agreement-validation",
"data": {
"agreement": {
"language": "ES-MX",
"minimalSimilarity": 100,
"script": "I, Enrique Blanco, confirm that the information captured in application number
6450 is correct and that this is the email address where I wish to receive my policy, as well as its
information"
},
"recognizedSpeech": {
"transcript": "and I cannot go conservative information captured an application number 9999
is not correct at which is not allowed dress registry safe as well as information",
"similarity": 68
},
"publicUrls": {
"selfieUrl": "<http://molecules.dev-26/media/selfie/507877c6-6125-4f9c-918e-
beda1d0dc74c.jpeg>",
"videoUrl": "<http://molecules.dev-26/media/video/a30c0cc1-209a-4089-ad01-
75f8e98981ff.mkv>"
},
"recognizedVideo": {
"faceMask": false,
"numFaces": 1
}
},
"error": null
}
Step Error - No Face Detected
{
"eventName": "step_completed",
"step": {
"status": 200,
"id": "video-agreement",
"data": {
"videoUrl": "https://media.getmati.com/file?location=hash",
"spriteUrl": null,
"selfieUrl": null,
"textMatching": {
"transcript": "I, Tania Jafet Soto González, confirm that the information captured in
application number 6450 is correct and that this is the email address where I wish to receive my
policy, as well as its information",
"originalText": "I, NAME, confirm that the information captured in application number
NUMBER is correct and that this is the email address where I wish to receive my policy, as well as
its information",
"similarity": "85.23447"
}
},
"error": {
"type": "StepError",
"code": "videoConsent.noFace",
"message": "No face was found in the user's video"
}
},
"resource": "https://api.getmati.com/v2/verifications/5ffdb056f2c321001beb4963",
"timestamp": "2021-01-12T14:22:36.604Z"
}
Step Error - Text Mismatch
{
"eventName": "step_completed",
"step": {
"status": 200,
"id": "video-agreement",
"data": {
"videoUrl": "https://media.getmati.com/file?location=hash",
"spriteUrl": "https://media.getmati.com/file?location=hash",
"selfieUrl": "https://media.getmati.com/file?location=hash",
"textMatching": {
"transcript": "I, Tania Jafet Soto González, confirm that the information captured in
application number 6450 is correct and that this is the email address where I wish to receive my
policy, as well as its information",
"originalText": "I, NAME, confirm that the information captured in application number
NUMBER is correct and that this is the email address where I wish to receive my policy, as well as
its information",
"similarity": "20.177"
}
},
"error": {
"type": "StepError",
"code": "videoConsent.textMismatch",
"message": "There are significant differences between the expected text and wahat the user
said "
}
},
"resource": "https://api.getmati.com/v2/verifications/5ffdb056f2c321001beb4963",
"timestamp": "2021-01-12T14:22:36.604Z"
}
Updated 5 months ago