A Webhook is triggered when the AddOn faceAuth is submitted and the final result (auth_status) is determined.
The Webhook is sent to the Webhook URL registered in the existing ID Check project. To register a Webhook, refer to this guide .
The Webhook trigger is “faceAuth”.
faceauth-webhook-sample.json
{
"webhook_trigger" : "faceAuth" ,
"data" : {
"Submission_id" : "{String}" ,
"Auth_Status" : "{String}" ,
"Create_Time" : "{String}" ,
"Auth_User_id" : "{String}" ,
"Auth_cf1" : "{String}" ,
"Auth_cf2" : "{String}" ,
"Auth_cf3" : "{String}" ,
"Token_id" : "{String}" ,
"reference" : {
"userid" : "{String}" ,
"email" : "{String}" ,
"cf" : {
"cf1" : "{String}" ,
"cf2" : "{String}" ,
"cf3" : "{String}"
}
},
"Authentication_id" : "{String}"
}
}
faceAuth is compared with approved submissions from previously submitted ID checks
target: Parameters used in the QueryString when making a Faceauth request
reference: Previously submitted ID check submission that serves as the comparison target for faceAuth
Webhook trigger type - faceAuth indicates this is a faceAuth webhook
Unique ID for each faceAuth submission [authId]
Webhook payload data Unique ID of the specific submission that serves as the target for faceAuth comparison
Indicates the final result of faceAuth. Returns approved (success) or rejected (failure)
Date and time when faceAuth was submitted (UTC+0)
User_id parameter optionally added when creating the target Submission_id
Used as authUserId in FaceAuth URL parameters
Custom field #1 of the target
Used as authCf1 in FaceAuth URL parameters
Custom field #2 of the target
Used as authCf2 in FaceAuth URL parameters
Custom field #3 of the target
Used as authCf3 in FaceAuth URL parameters
Token Id used in the target
Used as token in FaceAuth URL parameters
Reference submission that serves as the comparison target for faceAuth Reference Submission_id’s userid that serves as the comparison target for faceAuth
Email of the reference Submission_id that serves as the comparison target for faceAuth
Custom fields of the reference Submission_id that serves as the comparison target for faceAuth