Download OpenAPI specification:Download
Enrollment and Authentication REST APIs that utilizes biometrics and documents for robust identity verification
Returns the version of Knomi Faceliveness server
curl --request GET \ --url https://cluster_name/faceliveness/version \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
Analyze the provided facial images and determine liveness and other autocapture information based on the specified workflow. Please note that:
Each workflow has 3 variations with different levels of security and usability.
It is recommended to start with 4 and evaluate if it meets your needs before trying 2 or 6.
The workflows are separated into the following categories. Each one requires a certain number of images
object (faceLivenessRequest_video) Video object |
{- "video": {
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}, - "workflow_data": {
- "workflow": "charlie4",
- "frames": [
- {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134137
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134158
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134189
}
]
}
}
}
{- "video": {
- "autocapture_result": {
- "captured_frame": "<base64 encoded image>",
- "captured_frame_is_constructed": false,
- "feedback": [ ]
}, - "liveness_result": {
- "decision": "LIVE",
- "feedback": [ ],
- "score": 100,
- "score_frr": 0.5301376318487142
}
}
}
Analyze the provided facial images and determine liveness based on the specified workflow. Please note that:
Each workflow has 3 variations with different levels of security and usability.
It is recommended to start with 4 and evaluate if it meets your needs before trying 2 or 6.
The workflows are separated into the following categories. Each one requires a certain number of images
object (faceLivenessRequest_video) Video object |
{- "video": {
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}, - "workflow_data": {
- "workflow": "charlie4",
- "frames": [
- {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134137
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134158
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134189
}
]
}
}
}
{- "video": {
- "liveness_result": {
- "decision": "LIVE",
- "feedback": [ ],
- "score_frr": 0.5301376318487142
}
}
}
Encrypted version of analyze endpoint.
Please Note:
Encrypted request data is generated by Knomi software.
Name | Type | Description |
---|---|---|
key | string | Encrypted request 'key' value |
iv | string | Encrypted request 'iv' value |
p | string | Encrypted request 'p' value |
Status Codes:
200 OK Success 400 Bad Request The request is not valid 500 Internal Server Error Internal error. Please see Error Codes section for detailed information. 200 Response schema: | Name | Type | Description | |--------------------|--------------------|--------------------------------------------------------| | video | object | Video object | | autocapture_result | autocapture_result | | | liveness_result | liveness_result | | | version | string | The current version of the Aware Face Liveness library.|
400 Response schema: | Name | Type | Description | |-------------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | error | object | | | code | integer |Error code Values: -1 (Unknown Error), -2 (Invalid Input JSON), -3 (Missing Mandatory Field), -4 (Field Has Wrong Type), -5 (Invalid Base64 String), -6 (Invalid Value), -7 (Invalid Image Data), -8 (Invalid Image Size) | | | description | string | Error description |
500 Response schema: | Name | Type | Description | |-------------|---------|-------------------------------| | error | object | | | code | integer | Error code (see table below) | | description | string | Error description |
key | string encrypted symmetric key |
iv | any initial vector for symmetric encryption |
p | any encrypted biometric faceliveness request |
{- "key": "string",
- "iv": null,
- "p": null
}
{- "video": {
- "autocapture_result": {
- "captured_frame": "<base64 encoded image>",
- "captured_frame_is_constructed": false,
- "feedback": [ ]
}, - "liveness_result": {
- "decision": "LIVE",
- "feedback": [ ],
- "score": 100,
- "score_frr": 0.5301376318487142
}
}
}
Analyze the provided facial images and determine liveness.
Please Note: Recommended resolution for provided images is 480x640. All images within a single request must have the same width and height. The recommended number of pixels between the subject?s eyes is 90 when using a front camera, and 60 with a back camera.
Encrypted request data is generated by Knomi software.
Request schema: | Name | Type | Description | |--------------|---------------|--------------| | video | object | Video object | | meta_data | meta_data | | | workflow_data| workflow_data | |
Status Codes: 200 OK Success 400 Bad Request The request is not valid 500 Internal Server Error Internal error. Please see Error Codes section for detailed information.
200 Response schema: | Name | Type | Description | |-----------------|-------------------|---------------------------------------------------------| | video | object | Video object | | liveness_result | liveness_result | | | version | string | The current version of the Aware Face Liveness library. |
400 Response schema: | Name | Type | Description | |-------------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | error | object | Error code Values: -1 (Unknown Error), -2 (Invalid Input JSON), -3 (Missing Mandatory Field), -4 (Field Has Wrong Type), -5 (Invalid Base64 String), -6 (Invalid Value), -7 (Invalid Image Data), -8 (Invalid Image Size) | | code | integer | | | description | string | Error description |
500 Response schema: | Name | Type | Description | |-------------|---------|-------------------------------| | error | object | | | code | integer | Error code (see table below) | | description | string | Error description |
key | string encrypted symmetric key |
iv | any initial vector for symmetric encryption |
p | any encrypted biometric faceliveness request |
{- "key": "string",
- "iv": null,
- "p": null
}
{- "video": {
- "autocapture_result": {
- "captured_frame": "<base64 encoded image>",
- "captured_frame_is_constructed": false,
- "feedback": [ ]
}, - "liveness_result": {
- "decision": "LIVE",
- "feedback": [ ],
- "score": 100,
- "score_frr": 0.5301376318487142
}
}
}
Encrypted version of checkActiveLiveness endpoint. Please Note Encrypted request data is generated by Knomi software.
Request schema: | Name | Type | Description | |--------------|------------|--------------| | video | object | Video object | | meta_data | meta_data | | | workflow_data| workflow_data | |
Status Codes: 200 OK Success 400 Bad Request The request is not valid 500 Internal Server Error Internal error. Please see Error Codes section for detailed information.
200 Response schema: | Name | Type | Description | |-----------------|-------------------|---------------------------------------------------------| | video | object | Video object | | liveness_result | liveness_result | | | version | string | The current version of the Aware Face Liveness library. |
400 Response schema: | Name | Type | Description | |-------------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | error | object | Error code Values: -1 (Unknown Error), -2 (Invalid Input JSON), -3 (Missing Mandatory Field), -4 (Field Has Wrong Type), -5 (Invalid Base64 String), -6 (Invalid Value), -7 (Invalid Image Data), -8 (Invalid Image Size) | | code | integer | | | description | string | Error description |
500 Response schema: | Name | Type | Description | |-------------|---------|-------------------------------| | error | object | | | code | integer | Error code (see table below) | | description | string | Error description |
key | string encrypted symmetric key |
iv | any initial vector for symmetric encryption |
p | any encrypted biometric faceliveness request |
{- "key": "string",
- "iv": null,
- "p": null
}
{- "video": {
- "autocapture_result": {
- "captured_frame": "<base64 encoded image>",
- "captured_frame_is_constructed": false,
- "feedback": [ ]
}, - "liveness_result": {
- "decision": "LIVE",
- "feedback": [ ],
- "score": 100,
- "score_frr": 0.5301376318487142
}
}
}
Returns the version of Knomi VoiceLiveness server.
curl --request GET \ --url https://cluster_name/voiceliveness/version \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
Analyzes the voice samples in input based on the specified workflow. Each workflow provide different levels of usability and security.
required | object (analyzeRequest_voice) Voice object. |
{- "voice": {
- "voiceSamples": [
- {
- "data": "base64 voice sample"
}
], - "workflow": "alfa4",
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}
}
}
{- "voice": {
- "livenessResult": {
- "score": 100
}
}
}
Please Note -Encrypted request data is generated by Knomi software.
key | string encrypted symmetric key |
iv | any initial vector for symmetric encryption |
p | any encrypted biometric faceliveness request |
{- "key": "string",
- "iv": null,
- "p": null
}
{- "voice": {
- "livenessResult": {
- "score": 100
}
}
}
Request schema
required | object (analyzeRequest_voice) Voice object. |
{- "voice": {
- "voiceSamples": [
- {
- "data": "base64 voice sample"
}
], - "workflow": "alfa4",
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}
}
}
{- "voice": {
- "livenessResult": {
- "score": 100
}
}
}
Please Note -Encrypted request data is generated by Knomi software.
key | string encrypted symmetric key |
iv | any initial vector for symmetric encryption |
p | any encrypted biometric faceliveness request |
{- "key": "string",
- "iv": null,
- "p": null
}
{- "voice": {
- "livenessResult": {
- "score": 100
}
}
}
Returns the version of Knomi FaceMatcher
curl --request GET \ --url https://cluster_name/nexaface/version \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
object (metadata_2) metadata assocated with the transaction | |
required | visibleFrontal (object) or import (object) |
required | visibleFrontal (object) or import (object) |
required | object (faceComparator) Face comparator object |
Compare example using face images
{- "probe": {
- "VISIBLE_FRONTAL": "<base64 encoded face sample>"
}, - "gallery": {
- "VISIBLE_FRONTAL": "<base64 encoded face sample>"
}, - "workflow": {
- "comparator": {
- "algorithm": "F500",
- "faceTypes": [
- "VISIBLE_FRONTAL"
]
}
}
}
{- "score": 13.9989,
- "scorePercent": 98.02
}
object (visibleFrontal) Encounter |
Example using face image
{- "encounter": {
- "VISIBLE_FRONTAL": "<base64 encoded face image>",
- "id": "encounter01"
}
}
{- "export": "<base64 encoded template>"
}
Returns the version of Knomi VoiceMatcher
curl --request GET \ --url https://cluster_name/nexavoice/version \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
object (metadata_2) metadata assocated with the transaction | |
required | voiceSamples (object) |
required | voiceSamples (object) |
required | object (voiceComparator) Voice comparator object |
Compare example using voice samples
{- "probe": {
- "voiceSamples": [
- {
- "data": "<base64 encoded voice sample>",
- "voiceSampleType": "STATIC_PHRASE"
}
]
}, - "gallery": {
- "voiceSamples": [
- {
- "data": "<base64 encoded voice sample>",
- "voiceSampleType": "STATIC_PHRASE"
}
]
}, - "workflow": {
- "comparator": {
- "algorithm": "V600",
- "voiceSampleTypes": [
- "STATIC_PHRASE"
]
}
}
}
{- "score": 13.9989,
- "scorePercent": 98.02
}
data required | string Base64 encoded voice sample |
voiceSampleType required | string Value: "STATIC_PHRASE" Voice sample type |
Example using voice sample
{- "encounter": {
- "voiceSamples": [
- {
- "data": "<base64 encoded voice sample>",
- "voiceSampleType": "STATIC_PHRASE"
}, - {
- "data": "<base64 encoded voice sample>",
- "voiceSampleType": "STATIC_PHRASE"
}
], - "id": "encounter01"
}
}
Validates whether the presented documents are valid and understood by the server. This API is normally used during document capture to check whether invalid documents were presented for capture. This API also provides information on whether a second page is expected for this document type.
object (ValidateDocumentTypeRequest) |
{- "documentImage": {
- "lightingScheme": 6,
- "image": "Base64 image of the document",
- "format": ".jpeg"
}
}
{- "validDocument": true,
- "nextpageExpected": true,
- "rfidPresence": 0,
- "mrzPresence": true,
- "documentName": "string",
- "documentID": "string",
- "fidType": "string",
- "fidTypeId": "string",
- "rotated180": true,
- "year": "string",
- "countryName": "string",
- "childDocumentIDs": [
- "string"
], - "icaocode": "string"
}
Verifies a document by comparing the different fields captured from MRZ/Barcode/OCR present in the document. It also accepts a facial image and uses it to perform match against the portrait image extracted from the ID card.
required | object (DocumentsInfo) |
required | object (BiometricsInfo) |
object (ProcessingInstructions) | |
object (Metadata) |
{- "documentsInfo": {
- "documentImage": [
- {
- "lightingScheme": 0,
- "image": "string",
- "format": "string"
}
], - "documentPayload": {
- "request": {
- "vendor": "REGULA",
- "data": { }
}
}, - "processParam": {
- "alreadyCropped": true
}
}, - "biometricsInfo": {
- "facialImage": {
- "image": "string"
}
}, - "processingInstructions": {
- "checkLiveness": true
}, - "metadata": {
- "deviceInfo": {
- "manufacturer": "string",
- "device": "string",
- "model": "string",
- "osVersion": "string",
- "localization": "string"
}, - "sdkInfo": {
- "version": "string",
- "build": "string",
- "programmingLanguage": "string",
- "programmingLanguageVersion": "string"
}, - "username": "string",
- "dateTime": "string",
- "parameter": {
- "queueLength": 0,
- "cornerSimilarityThreshold": 0,
- "glareDetectionThreshold": {
- "maxCeiling": 0,
- "maxFloor": 0,
- "minCeiling": 0,
- "minFloor": 0
}
}, - "captureData": [
- {
- "totalCaptureTime": 0,
- "fullImage": [
- "string"
], - "fullImageOriginalWidth": 0,
- "fullImageOriginalHeight": 0,
- "boundaryImage": [
- "string"
], - "frames": [
- {
- "coordinates": {
- "topLeft": {
- "x": 0,
- "y": 0
}, - "topRight": {
- "x": 0,
- "y": 0
}, - "bottomLeft": {
- "x": 0,
- "y": 0
}, - "bottomRight": {
- "x": 0,
- "y": 0
}
}, - "positionStatus": "TOO_FAR",
- "timeDuration": {
- "h1AlgorithmTime": 0,
- "c1AlgorithmTime": 0,
- "glareDetectionTime": 0
}, - "glareDetectionOn": true,
- "glareDetectionValue": {
- "min": 0,
- "max": 0
}
}
]
}
]
}
}
{- "overallAuthenticationResult": "OK",
- "documentAuthenticationResult": {
- "documentType": "string",
- "countryName": "string",
- "icaoCode": "string",
- "year": "string",
- "documentTypeId": "string",
- "fidType": "string",
- "fidTypeId": "string",
- "overallResult": "OK",
- "overallResultInfo": {
- "numberOfImages": 0,
- "imagePairValid": true,
- "analysisEngineErrorCodes": [
- "OCR_NULL"
], - "fieldErrorCodes": [
- "MRZ_NONE"
]
}, - "overallResultScore": 0,
- "mrzPresence": true,
- "rfidPresence": 0,
- "fieldType": [
- {
- "name": "string",
- "typeId": 0,
- "fieldResult": {
- "mrz": "string",
- "barcode": "string",
- "visual": "string",
- "isMrzStatusValid": "NOT_VALIDATED",
- "isBarcodeStatusValid": "NOT_VALIDATED",
- "isVisualStatusValid": "NOT_VALIDATED",
- "mrzVisualCompareValid": "NOT_COMPARED",
- "mrzBarcodeCompareValid": "NOT_COMPARED",
- "visualBarcodeCompareValid": "NOT_COMPARED"
}, - "overallResult": "OK"
}
], - "signatureImage": "string",
- "portraitImage": "string",
- "authenticityResult": {
- "overallResult": "OK",
- "authenticityImagePatternCheck": {
- "overallResult": "OK",
- "securityElements": [
- {
- "result": "OK",
- "elementType": 0,
- "diagnoseCode": 0,
- "lightIndex": 0,
- "percentValue": 0,
- "fragmentArea": {
- "left": 0,
- "right": 0,
- "top": 0,
- "bottom": 0
}, - "locatedImageFragment": "string",
- "expectedImagePattern": "string"
}
]
}
}, - "rfidValidationResults": {
- "rfidValidationResult": {
- "dg1BiographicInfo": {
- "primaryIdentifier": "string",
- "secondaryIdentifier": "string",
- "personalNumber": "string",
- "documentType": "string",
- "documentCode": "string",
- "documentNumber": "string",
- "gender": "string",
- "nationality": "string",
- "dateOfBirth": "string",
- "dateOfExpiry": "string",
- "issuingState": "string",
- "optionalData1": "string",
- "optionalData2": "string"
}, - "dg2Info": {
- "facialImage": "string"
}, - "dg11BiographicInfo": {
- "nameOfHolder": "string",
- "fullDateOfBirth": "2019-08-24T14:15:22Z",
- "placeOfBirth": "string",
- "permanentAddress": "string",
- "otherNames": "string",
- "personalSummary": "string",
- "profession": "string",
- "proofOfCitizenship": "string",
- "otherTravelDocumentNumbers": "string",
- "personalNumber": "string",
- "title": "string",
- "telephone": "string",
- "custody": "string"
}, - "signatureOnSODValid": true,
- "certificateChainValid": true,
- "dataGroupHashesValid": true,
- "passiveAuthenticationResult": "SUCCESS",
- "terminalAuthenticationResult": "SUCCESS",
- "activeAuthenticationResult": "SUCCESS",
- "chipAuthenticationResult": "SUCCESS",
- "dataEncryptionResult": "SUCCESS",
- "bacauthenticationResult": "SUCCESS",
- "paceauthenticationResult": "SUCCESS"
}, - "facialMatchResult": {
- "matchResult": true,
- "matchScore": 0
}
}, - "icaoVerificationResult": true
}, - "biometricsAuthenticationResult": {
- "matchResult": "OK",
- "matchScore": 0,
- "modality": "FACE",
- "portraitImage": "string"
}, - "retryDocumentCapture": true,
- "icaoChipAvailable": true,
- "icaoChipValidationResults": {
- "rfidValidationResult": {
- "dg1BiographicInfo": {
- "primaryIdentifier": "string",
- "secondaryIdentifier": "string",
- "personalNumber": "string",
- "documentType": "string",
- "documentCode": "string",
- "documentNumber": "string",
- "gender": "string",
- "nationality": "string",
- "dateOfBirth": "string",
- "dateOfExpiry": "string",
- "issuingState": "string",
- "optionalData1": "string",
- "optionalData2": "string"
}, - "dg2Info": {
- "facialImage": "string"
}, - "dg11BiographicInfo": {
- "nameOfHolder": "string",
- "fullDateOfBirth": "2019-08-24T14:15:22Z",
- "placeOfBirth": "string",
- "permanentAddress": "string",
- "otherNames": "string",
- "personalSummary": "string",
- "profession": "string",
- "proofOfCitizenship": "string",
- "otherTravelDocumentNumbers": "string",
- "personalNumber": "string",
- "title": "string",
- "telephone": "string",
- "custody": "string"
}, - "signatureOnSODValid": true,
- "certificateChainValid": true,
- "dataGroupHashesValid": true,
- "passiveAuthenticationResult": "SUCCESS",
- "terminalAuthenticationResult": "SUCCESS",
- "activeAuthenticationResult": "SUCCESS",
- "chipAuthenticationResult": "SUCCESS",
- "dataEncryptionResult": "SUCCESS",
- "bacauthenticationResult": "SUCCESS",
- "paceauthenticationResult": "SUCCESS"
}, - "facialMatchResult": {
- "matchResult": true,
- "matchScore": 0
}
}, - "icaoVerificationResult": true,
- "frontImg": "string",
- "rearImg": "string"
}
curl --request GET \ --url https://cluster_name/b2c/sdk/preface/version \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
"Aware KnomiFaceAnalyzer Library, version 7.1 r165954"
object (calculateROIRequest_profile) Profile object | |
object (calculateROIRequest_resolution) Resolution in pixels |
{- "profile": {
- "xml": "<profile content>"
}, - "resolution": {
- "width": 480,
- "height": 640
}
}
{- "height": 512,
- "width": 356,
- "x": 62,
- "y": 0
}
required | Array of objects (analyzeImageRequest_images) |
{- "images": [
- {
- "id": "id1",
- "input": {
- "rotation": 0,
- "faceMinimumSize": 0.1,
- "faceMaximumSize": 1,
- "faceSensitivity": 0.7,
- "faceGranularity": 0.2,
- "faceDetectionMode": "FACE_ORDERING_BY_SIZE",
- "imageData": "<base64 encoded image>"
}, - "output": [
- {
- "id": "Foo.xml",
- "profileXml": "<PreFace Profile XML File Contents>",
- "performConstruction": true,
- "metrics": [
- "IMAGE_WIDTH",
- "IMAGE_HEIGHT"
]
}
]
}
]
}
{- "images": [
- {
- "id": "id1",
- "faces": [
- {
- "output": [
- {
- "id": "Foo.xml",
- "isCompliant": false,
- "imageData": "<base64 encoded image>",
- "features": [
- {
- "name": "Feature1",
- "x": 140.2,
- "y": 345.1
}
], - "metrics": [
- {
- "name": "IMAGE_WIDTH",
- "score": 1840,
- "complianceStatus": "OK",
- "category": "IMAGE_GEOMETRY"
}, - {
- "name": "IMAGE_HEIGHT",
- "score": 920,
- "category": "IMAGE_GEOMETRY"
}
]
}
]
}
]
}
]
}
Array of objects (autocaptureVideoRequest_frames) | |
object (calculateROIRequest_resolution) Resolution in pixels | |
object (calculateROIRequest_resolution) Resolution in pixels | |
object (autocaptureVideoRequest_profile) | |
faceMinimumSize | number <double> ( 0 .. 1 ] The minimum face size used in detecting faces when analyzing the image. |
faceMaximumSize | number <double> ( 0 .. 1 ] The maximum face size used in detecting faces when analyzing the image. |
faceSensitivity | number <double> ( 0 .. 1 ] The sensitivity used in detecting faces when analyzing the image. |
faceGranularity | number <double> ( 0 .. 1 ] The granularity used in detecting faces when analyzing the image. |
faceDetectionMode | string Enum: "FACE_ORDERING_BY_SIZE" "FACE_ORDERING_BY_SCORE" "DOMINANT_FACE_BY_SIZE" "DOMINANT_FACE_BY_SCORE" The face detection mode used in detecting faces when analyzing the image. |
autocaptureMinimumFrameCount | number >= 1 The number of consecutive, compliant frames necessary to return a successful capture. |
{- "profile": {
- "name": "profile.xml",
- "xml": "<profile content>"
}, - "rotation": "0,",
- "frames": [
- {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1565891124780.0334
}
], - "resolutionPreview": {
- "width": 240,
- "height": 320
}, - "resolutionCapture": {
- "width": 480,
- "height": 640
}
}
{- "frameResults": [
- {
- "compliant": false,
- "feedback": [
- "NO_FACE_DETECTED"
]
}
], - "results": {
- "captured": false,
- "capturedFrameIndex": -1
}
}
Array of objects (autocaptureVideoRequest_frames) | |
object (calculateROIRequest_resolution) Resolution in pixels | |
object (calculateROIRequest_resolution) Resolution in pixels | |
object (autocaptureVideoRequest_profile) | |
faceMinimumSize | number <double> ( 0 .. 1 ] The minimum face size used in detecting faces when analyzing the image. |
faceMaximumSize | number <double> ( 0 .. 1 ] The maximum face size used in detecting faces when analyzing the image. |
faceSensitivity | number <double> ( 0 .. 1 ] The sensitivity used in detecting faces when analyzing the image. |
faceGranularity | number <double> ( 0 .. 1 ] The granularity used in detecting faces when analyzing the image. |
faceDetectionMode | string Enum: "FACE_ORDERING_BY_SIZE" "FACE_ORDERING_BY_SCORE" "DOMINANT_FACE_BY_SIZE" "DOMINANT_FACE_BY_SCORE" The face detection mode used in detecting faces when analyzing the image. |
autocaptureMinimumFrameCount | number >= 1 The number of consecutive, compliant frames necessary to return a successful capture. |
{- "profile": {
- "name": "profile.xml",
- "xml": "<profile content>"
}, - "rotation": "0,",
- "frames": [
- {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1565891124780.0334
}
], - "resolutionPreview": {
- "width": 240,
- "height": 320
}, - "resolutionCapture": {
- "width": 480,
- "height": 640
}
}
{- "frameResults": [
- {
- "compliant": false,
- "feedback": [
- "NO_FACE_DETECTED"
]
}
], - "results": {
- "captured": false,
- "capturedFrameIndex": -1
}
}
key | string encrypted symmetric key |
iv | any initial vector for symmetric encryption |
p | any encrypted biometric faceliveness request |
curl --request POST \ --url https://cluster_name/b2c/sdk/faceliveness/analyzeEncrypted \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: text/plain'
Validates the document type against the server
object (ValidateDocumentTypeRequest) |
{- "documentImage": {
- "lightingScheme": 6,
- "image": "Base64 image of the document",
- "format": ".jpeg"
}
}
{- "validDocument": true,
- "nextpageExpected": true,
- "rfidPresence": 0,
- "mrzPresence": true,
- "documentName": "string",
- "documentID": "string",
- "fidType": "string",
- "fidTypeId": "string",
- "rotated180": true,
- "year": "string",
- "countryName": "string",
- "childDocumentIDs": [
- "string"
], - "icaocode": "string"
}
Verifies a document by comparing the different fields captured from MRZ/Barcode/OCR present in the document. It also accepts a facial image and uses it to perform match against the portrait image extracted from the ID card.
required | object (DocumentsInfo) |
required | object (BiometricsInfo) |
object (ProcessingInstructions) | |
object (Metadata) |
{- "documentsInfo": {
- "documentImage": [
- {
- "lightingScheme": 0,
- "image": "string",
- "format": "string"
}
], - "documentPayload": {
- "request": {
- "vendor": "REGULA",
- "data": { }
}
}, - "processParam": {
- "alreadyCropped": true
}
}, - "biometricsInfo": {
- "facialImage": {
- "image": "string"
}
}, - "processingInstructions": {
- "checkLiveness": true
}, - "metadata": {
- "deviceInfo": {
- "manufacturer": "string",
- "device": "string",
- "model": "string",
- "osVersion": "string",
- "localization": "string"
}, - "sdkInfo": {
- "version": "string",
- "build": "string",
- "programmingLanguage": "string",
- "programmingLanguageVersion": "string"
}, - "username": "string",
- "dateTime": "string",
- "parameter": {
- "queueLength": 0,
- "cornerSimilarityThreshold": 0,
- "glareDetectionThreshold": {
- "maxCeiling": 0,
- "maxFloor": 0,
- "minCeiling": 0,
- "minFloor": 0
}
}, - "captureData": [
- {
- "totalCaptureTime": 0,
- "fullImage": [
- "string"
], - "fullImageOriginalWidth": 0,
- "fullImageOriginalHeight": 0,
- "boundaryImage": [
- "string"
], - "frames": [
- {
- "coordinates": {
- "topLeft": {
- "x": 0,
- "y": 0
}, - "topRight": {
- "x": 0,
- "y": 0
}, - "bottomLeft": {
- "x": 0,
- "y": 0
}, - "bottomRight": {
- "x": 0,
- "y": 0
}
}, - "positionStatus": "TOO_FAR",
- "timeDuration": {
- "h1AlgorithmTime": 0,
- "c1AlgorithmTime": 0,
- "glareDetectionTime": 0
}, - "glareDetectionOn": true,
- "glareDetectionValue": {
- "min": 0,
- "max": 0
}
}
]
}
]
}
}
{- "overallAuthenticationResult": "OK",
- "documentAuthenticationResult": {
- "documentType": "string",
- "countryName": "string",
- "icaoCode": "string",
- "year": "string",
- "documentTypeId": "string",
- "fidType": "string",
- "fidTypeId": "string",
- "overallResult": "OK",
- "overallResultInfo": {
- "numberOfImages": 0,
- "imagePairValid": true,
- "analysisEngineErrorCodes": [
- "OCR_NULL"
], - "fieldErrorCodes": [
- "MRZ_NONE"
]
}, - "overallResultScore": 0,
- "mrzPresence": true,
- "rfidPresence": 0,
- "fieldType": [
- {
- "name": "string",
- "typeId": 0,
- "fieldResult": {
- "mrz": "string",
- "barcode": "string",
- "visual": "string",
- "isMrzStatusValid": "NOT_VALIDATED",
- "isBarcodeStatusValid": "NOT_VALIDATED",
- "isVisualStatusValid": "NOT_VALIDATED",
- "mrzVisualCompareValid": "NOT_COMPARED",
- "mrzBarcodeCompareValid": "NOT_COMPARED",
- "visualBarcodeCompareValid": "NOT_COMPARED"
}, - "overallResult": "OK"
}
], - "signatureImage": "string",
- "portraitImage": "string",
- "authenticityResult": {
- "overallResult": "OK",
- "authenticityImagePatternCheck": {
- "overallResult": "OK",
- "securityElements": [
- {
- "result": "OK",
- "elementType": 0,
- "diagnoseCode": 0,
- "lightIndex": 0,
- "percentValue": 0,
- "fragmentArea": {
- "left": 0,
- "right": 0,
- "top": 0,
- "bottom": 0
}, - "locatedImageFragment": "string",
- "expectedImagePattern": "string"
}
]
}
}, - "rfidValidationResults": {
- "rfidValidationResult": {
- "dg1BiographicInfo": {
- "primaryIdentifier": "string",
- "secondaryIdentifier": "string",
- "personalNumber": "string",
- "documentType": "string",
- "documentCode": "string",
- "documentNumber": "string",
- "gender": "string",
- "nationality": "string",
- "dateOfBirth": "string",
- "dateOfExpiry": "string",
- "issuingState": "string",
- "optionalData1": "string",
- "optionalData2": "string"
}, - "dg2Info": {
- "facialImage": "string"
}, - "dg11BiographicInfo": {
- "nameOfHolder": "string",
- "fullDateOfBirth": "2019-08-24T14:15:22Z",
- "placeOfBirth": "string",
- "permanentAddress": "string",
- "otherNames": "string",
- "personalSummary": "string",
- "profession": "string",
- "proofOfCitizenship": "string",
- "otherTravelDocumentNumbers": "string",
- "personalNumber": "string",
- "title": "string",
- "telephone": "string",
- "custody": "string"
}, - "signatureOnSODValid": true,
- "certificateChainValid": true,
- "dataGroupHashesValid": true,
- "passiveAuthenticationResult": "SUCCESS",
- "terminalAuthenticationResult": "SUCCESS",
- "activeAuthenticationResult": "SUCCESS",
- "chipAuthenticationResult": "SUCCESS",
- "dataEncryptionResult": "SUCCESS",
- "bacauthenticationResult": "SUCCESS",
- "paceauthenticationResult": "SUCCESS"
}, - "facialMatchResult": {
- "matchResult": true,
- "matchScore": 0
}
}, - "icaoVerificationResult": true
}, - "biometricsAuthenticationResult": {
- "matchResult": "OK",
- "matchScore": 0,
- "modality": "FACE",
- "portraitImage": "string"
}, - "retryDocumentCapture": true,
- "icaoChipAvailable": true,
- "icaoChipValidationResults": {
- "rfidValidationResult": {
- "dg1BiographicInfo": {
- "primaryIdentifier": "string",
- "secondaryIdentifier": "string",
- "personalNumber": "string",
- "documentType": "string",
- "documentCode": "string",
- "documentNumber": "string",
- "gender": "string",
- "nationality": "string",
- "dateOfBirth": "string",
- "dateOfExpiry": "string",
- "issuingState": "string",
- "optionalData1": "string",
- "optionalData2": "string"
}, - "dg2Info": {
- "facialImage": "string"
}, - "dg11BiographicInfo": {
- "nameOfHolder": "string",
- "fullDateOfBirth": "2019-08-24T14:15:22Z",
- "placeOfBirth": "string",
- "permanentAddress": "string",
- "otherNames": "string",
- "personalSummary": "string",
- "profession": "string",
- "proofOfCitizenship": "string",
- "otherTravelDocumentNumbers": "string",
- "personalNumber": "string",
- "title": "string",
- "telephone": "string",
- "custody": "string"
}, - "signatureOnSODValid": true,
- "certificateChainValid": true,
- "dataGroupHashesValid": true,
- "passiveAuthenticationResult": "SUCCESS",
- "terminalAuthenticationResult": "SUCCESS",
- "activeAuthenticationResult": "SUCCESS",
- "chipAuthenticationResult": "SUCCESS",
- "dataEncryptionResult": "SUCCESS",
- "bacauthenticationResult": "SUCCESS",
- "paceauthenticationResult": "SUCCESS"
}, - "facialMatchResult": {
- "matchResult": true,
- "matchScore": 0
}
}, - "icaoVerificationResult": true,
- "frontImg": "string",
- "rearImg": "string"
}
nationalIdType | string Type of the national ID. |
nationalIdNumber | string National ID number. |
object (nationalIdcheckNationalIdNumber_fields) attributes of an individual | |
object (nationalIdcheckNationalIdNumber_options) |
{- "nationalIdType": "CPF",
- "nationalIdNumber": "123456789",
- "fields": {
- "name": "John Doe Smith",
- "birthDate": "2020-10-19T00:00:00.000Z",
- "motherName": "Mary Smith",
- "faceImage": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMD ...",
- "faceLivenessData": {
- "video": {
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}, - "workflow_data": {
- "workflow": "charlie4",
- "frames": [
- {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134137
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134158
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134189
}
]
}
}
}
}, - "options": {
- "cpfCheck": {
- "enabled": false,
- "nameMatchPercentage": 90,
- "motherNameMatchPercentage": 90,
- "minimumAge": 0,
- "validTaxIdStatusResult": [
- "REGULAR"
]
}, - "complianceCheck": {
- "enabled": false,
- "minMatch": 70,
- "checkIfCurrentPEP": false,
- "checkIfCurrentSanctioned": false,
- "checkIfSanctionedBefore": false
}, - "biometricCheck": {
- "enabled": true,
- "securityLevel": "HIGH",
- "checkLiveness": true
}
}
}
{- "errorCode": 1,
- "errorMsg": "string",
- "responseDetail": { },
- "checks": {
- "cpfVerified": true,
- "complianceVerified": true,
- "biometricVerified": true,
- "livenessCheckVerified": true
}
}
lat | number <double> [ -90 .. 90 ] Latitude corresponds to the Y-axis. It measures how far north or south you are from the Equator. Positive values represent the Northern Hemisphere, and negative values represent the Southern Hemisphere. |
lon | number <double> [ -180 .. 180 ] Longitude corresponds to the X-axis. It measures how far east or west you are from the Prime Meridian. Positive values represent the Eastern Hemisphere, and negative values represent the Western Hemisphere. |
names | Array of arrays List of all Geofences (names) that needs to be checked for geofence compliance. |
{- "lat": 42.361145,
- "lon": -71.057083,
- "names": [
- "Harvard_Univeristy_Complex",
- "Washington_State"
]
}
{- "allowed": true,
- "location": {
- "latitude": 42.361145,
- "longitude": -71.057083,
- "address": {
- "region": "Massachusetts",
- "country": "United States",
- "continent": "North America"
}, - "geofenceDetails": [
- {
- "name": "Excluded_Regions",
- "geofence": "EXCLUDE - Admin Boundary - Canada",
- "status": true
}
], - "reason": "Failed Geofence rules: ExcludeCanada"
}
}
Call this API to obtain a session token (to be used in subsequent enrollment related calls)
username required | string An unique identifier |
email required | string Email address |
firstName | string (optional) First name |
lastName | string (optional) Last name |
phoneNumber | string (optional) Phone number |
{- "username": "TroyKohler",
- "email": "TroyKohler@mireya.netinfo",
- "firstName": "Troy",
- "lastName": "Kohler",
- "phoneNumber": "774-296-1793"
}
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "userExistsAlready": false,
- "requiredChecks": [
- "addDevice",
- "addFace",
- "addVoice"
]
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
deviceId | string (deviceId) Device Id used for enrollment and authentication |
publicKey | string (publicKey) Cryptographic ECDSA public key of this device, encoded in BASE64 |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "deviceId": "samsung001",
- "publicKey": "MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1cb6JHFagjftVneg8BIC4imWr48rF0Pvw17SaMhubbiA3+0oyF+u620YmhtvbBAQn87Ldda3eATw4D3/PfHx+g=="
}
{- "enrollmentStatus": 1,
- "registrationCode": ""
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
object (faceLivenessRequest) |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "faceLivenessData": {
- "video": {
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}, - "workflow_data": {
- "workflow": "charlie4",
- "frames": [
- {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134137
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134158
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134189
}
]
}
}
}
}
{- "livenessResult": true,
- "enrollmentStatus": 1,
- "registrationCode": "",
- "faceLivenessResults": ""
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
object (analyzeRequest) |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "livenessData": {
- "voice": {
- "voiceSamples": [
- {
- "data": "base64 voice sample"
}
], - "workflow": "alfa4",
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}
}
}
}
{- "livenessResult": true,
- "enrollmentStatus": 2,
- "registrationCode": "289794",
- "voiceLivenessResults": ""
}
Validates the document type against the server
required | object (DocumentImage) |
object (DocumentPayload) | |
object (onboardingenrollmentaddDocumentOCR_documentsInfo_processParam) |
{- "documentImage": {
- "lightingScheme": 0,
- "image": "string",
- "format": "string"
}, - "documentPayload": {
- "request": {
- "vendor": "REGULA",
- "data": { }
}
}, - "processParam": {
- "alreadyCropped": true
}
}
{- "validDocument": true,
- "nextpageExpected": true,
- "rfidPresence": 0,
- "mrzPresence": true,
- "documentName": "string",
- "documentID": "string",
- "fidType": "string",
- "fidTypeId": "string",
- "rotated180": true,
- "year": "string",
- "countryName": "string",
- "childDocumentIDs": [
- "string"
], - "icaocode": "string"
}
Verifies documents by comparing the different fields captured from MRZ/Barcode/OCR present in the document. It uses the selfie image previously captured to perform match against the portrait image extracted from the ID card.
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
object (onboardingenrollmentaddDocumentOCR_documentsInfo) |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "documentsInfo": {
- "documentImage": [
- {
- "lightingScheme": 0,
- "image": "string",
- "format": "string"
}
], - "documentPayload": {
- "request": {
- "vendor": "REGULA",
- "data": { }
}
}, - "processParam": {
- "alreadyCropped": true
}
}
}
{- "enrollmentStatus": 1,
- "documentVerificationResult": true,
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa",
- "icaoVerificationResult": true,
- "matchResult": true,
- "matchScore": 100,
- "retryDocumentCapture": true,
- "ocrResults": {
- "validDocument": true,
- "nextpageExpected": true,
- "rfidPresence": 0,
- "mrzPresence": true,
- "documentName": "string",
- "documentID": "string",
- "fidType": "string",
- "fidTypeId": "string",
- "rotated180": true,
- "year": "string",
- "countryName": "string",
- "childDocumentIDs": [
- "string"
], - "icaocode": "string"
}, - "icaoChipValidationResults": {
- "rfidValidationResult": {
- "dg1BiographicInfo": {
- "primaryIdentifier": "456456",
- "secondaryIdentifier": "7645674",
- "personalNumber": "758475689",
- "documentType": "US Passport - 2005",
- "documentCode": "A43785649",
- "documentNumber": "F64738657436",
- "gender": "F",
- "nationality": "USA",
- "dateOfBirth": "19900808",
- "dateOfExpiry": "20250909",
- "issuingState": "MA",
- "optionalData1": "string",
- "optionalData2": "string"
}, - "dg2Info": {
- "facialImage": "/9j/9FAQS ..."
}, - "dg11BiographicInfo": {
- "nameOfHolder": "string",
- "fullDateOfBirth": "string",
- "placeOfBirth": "string",
- "otherNames": "string",
- "personalSummary": "string",
- "profession": "string",
- "proofOfCitizenship": "string",
- "otherTravelDocumentNumbers": "string"
}, - "signatureOnSODValid": true,
- "certificateChainValid": true,
- "dataGroupHashesValid": true,
- "activeAuthenticationResult": "NOT_SUPPORTED"
}, - "facialMatchResult": {
- "matchResult": true,
- "matchScore": 90
}
}
}
Retrieves a random challenge from server for performing ICAO 9303 Active Authentication against an ICAO-complaint chip
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340"
}
{- "challenge": "gh46fANFOw8"
}
Verifies the validity of the datagroups retrieved from an ICAO-compliant RFID chip. Supports both Passive and Active Authentication.
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
object (onboardingenrollmentaddDocumentICAO_icaoDataGroups) |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "icaoDataGroups": {
- "dg1": "YVtfH1hQPEd ...",
- "dg2": "dYIwjH9hgjCHAg ...",
- "dg11": "dYIwjH9hgjCHAg ...",
- "dg15": "dYIwjH9hgjCHAg ...",
- "sod": "d4IGjDCCBogGC ...",
- "aaSignature": "d4IGjDCCBogGC ..."
}
}
{- "enrollmentStatus": 1,
- "icaoVerificationResult": true,
- "registrationCode": "",
- "icaoChipValidationResults": ""
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340"
}
{- "enrollmentStatus": 1,
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa",
- "mpinId": "c324f5e55e377de0343f37019ad5b77b8b01bdfee40014a54d76fd934e36a792",
- "activationToken": "763c1005ca540c4db8e6811222c207ea",
- "expireTime": 1634890606,
- "pinUser": "EXAMPLE@AWARE.COM",
- "pinDevice": "277c6b91eca44a45"
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340"
}
{- "enrollmentStatus": 1,
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa"
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
object (onboardingenrollmentmobileMatchverifyPII_pii) PII data |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "pii": {
- "fname": "John",
- "mname": "string",
- "lname": "Smith",
- "country": "US",
- "state": "MA",
- "city": "Worcester",
- "postalCode": "1609.0",
- "street": "Main Street",
- "streetNumber": "100",
- "dialCode": "1",
- "telephone": "6176003000"
}
}
{- "enrollmentStatus": 1,
- "responseDetail": {
- "countrySelection": { },
- "verifyPII": { },
- "SendOTP": { }
}
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
pinCode | string OTP received on the mobile phone |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "pinCode": "703113"
}
{- "enrollmentStatus": 1,
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa",
- "policyDecision": "approve",
- "responseDetail": {
- "countrySelection": { },
- "verifyPII": { },
- "SendOTP": { },
- "verifyOTP": { }
}
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
object (onboardingenrollmentKBAquestions_pii) PII data |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "pii": {
- "fname": "John",
- "mname": "string",
- "lname": "Smith",
- "country": "US",
- "state": "MA",
- "city": "Worcester",
- "postalCode": "1609.0",
- "street": "Main Street",
- "streetNumber": "100",
- "dobDay": "27",
- "dobMonth": "5",
- "dobYear": "1985"
}
}
{- "enrollmentStatus": 1,
- "questions": [
- {
- "QuestionId": "19587951311",
- "Key": "string",
- "Type": "singlechoice",
- "Text": {
- "Statement": "From whom did you purchase the property at 1520 Calle Venecia Place?"
}, - "HelpText": {
- "Statement": "The addresses listed may be partial, misspelled or contain minor numbering variations from your actual address"
}, - "Choices": [
- {
- "ChoiceId": "105350929861",
- "Text": {
- "Statement": "Randy Dieu"
}
}
]
}
], - "errorCode": 1,
- "errorMsg": "Please make sure the input is correct"
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
Array of objects (kbaAnswer) user answers to challenge questions |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "answers": [
- {
- "QuestionId": "19587951311",
- "Choices": [
- {
- "Choice": "105350929861"
}
]
}
]
}
{- "enrollmentStatus": 1,
- "registrationCode": "string",
- "policyDecision": "approve",
- "errorCode": 1,
- "errorMsg": "Incorrect answers"
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
apSessionId | string (apSessionId) generated by device profile JavaScript on the phone |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "apSessionId": "59673504-c8ef-4b75-9454-85ba743981af"
}
{- "enrollmentStatus": 1,
- "responseDetail": {
- "getScore": { }
}
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
object (watchlistAttributes) |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "pii": {
- "entityType": "INDIVIDUAL",
- "name": "John Smith",
- "taxNumber": "ITIN-356242",
- "firstName": "John",
- "lastName": "Smith",
- "gender": "Male",
- "birthDate": "1942-11-20T00:00:00.000Z",
- "birthPlace": "Burlington",
- "birthCountry": "USA",
- "nationality": "USA",
- "citizenship": "USA"
}
}
{- "enrollmentStatus": 1,
- "errorCode": 1,
- "errorMsg": "string",
- "responseDetail": { }
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
nationalIdType | string Type of the national ID. |
nationalIdNumber | string National ID number. |
object (nationalIdFields) attributes of an individual |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "nationalIdType": "CPF",
- "nationalIdNumber": "123456789",
- "fields": {
- "name": "John Doe Smith",
- "birthDate": "2020-10-19T00:00:00.000Z",
- "motherName": "Mary Smith"
}
}
{- "enrollmentStatus": 1,
- "errorCode": 1,
- "errorMsg": "string",
- "responseDetail": { },
- "checks": {
- "cpfVerified": true,
- "complianceVerified": true,
- "biometricVerified": true
}
}
enrollmentToken | string (enrollmentToken) Session token obtained from /onboarding/enrollment/enroll for enrollment process |
{- "enrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340"
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
Call this API to obtain a session token (to be used in subsequent verification related calls). Either registrationCode or username is acceptable.
registrationCode | string (registrationCode) Registration code received after enrollment completed successfully |
username | string An unique identifier |
{- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa",
- "username": "string"
}
{- "authToken": "9336b7b9-6a37-4aca-91b0-10b929e5c341",
- "requiredChecks": [
- "verifyFace",
- "verifyVoice"
]
}
authToken | string (authToken) Session token obtained from /onboarding/authentication/authenticate for authentication process |
deviceId | string (deviceId) Device Id used for enrollment and authentication |
signature | string (signature) Cryptographic ECDSA signature signed by this device with its stored private key, encoded in BASE64 |
geosites | string comma-delimited string of geosites to be checked |
{- "authToken": "cd8d9b72-55bc-4aee-bfc5-a622d4a2a379",
- "deviceId": "samsung001",
- "signature": "MEQCIAOAfOlxMNJ0n8h/foJ5qLsNXgkjiBlItbM4zCrT7vF+AiB8T1vANlzxCg8bGMd1fSuYI6TxIksfrJHWyBLEPMczsw==",
- "geosites": "Boston,NYC"
}
{- "message": "Device signature is invalid",
- "authStatus": 1
}
authToken | string (authToken) Session token obtained from /onboarding/authentication/authenticate for authentication process |
object (faceLivenessRequest) |
{- "authToken": "cd8d9b72-55bc-4aee-bfc5-a622d4a2a379",
- "faceLivenessData": {
- "video": {
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}, - "workflow_data": {
- "workflow": "charlie4",
- "frames": [
- {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134137
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134158
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134189
}
]
}
}
}
}
{- "livenessResult": true,
- "matchResult": true,
- "matchScore": 100,
- "authStatus": 1,
- "faceLivenessResults": {
- "video": {
- "liveness_result": {
- "decision": "LIVE",
- "feedback": [ ],
- "score_frr": 0.5301376318487142
}
}
}
}
authToken | string (authToken) Session token obtained from /onboarding/authentication/authenticate for authentication process |
object (analyzeRequest) |
{- "authToken": "cd8d9b72-55bc-4aee-bfc5-a622d4a2a379",
- "livenessData": {
- "voice": {
- "voiceSamples": [
- {
- "data": "base64 voice sample"
}
], - "workflow": "alfa4",
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}
}
}
}
{- "livenessResult": true,
- "matchResult": true,
- "matchScore": 100,
- "authStatus": "2 (Complete)",
- "voiceLivenessResults": ""
}
authToken | string (authToken) Session token obtained from /onboarding/authentication/authenticate for authentication process |
authorizationCode | string (authorizationCode) Authorization token obtained from PIN entry. |
{- "authToken": "cd8d9b72-55bc-4aee-bfc5-a622d4a2a379",
- "authorizationCode": "50d91ff4b0abba389205f539c3378f0a"
}
{- "authStatus": 1
}
authToken | string (authToken) Session token obtained from /onboarding/authentication/authenticate for authentication process |
apSessionId | string (apSessionId) generated by device profile JavaScript on the phone |
{- "authToken": "cd8d9b72-55bc-4aee-bfc5-a622d4a2a379",
- "apSessionId": "59673504-c8ef-4b75-9454-85ba743981af"
}
{- "authStatus": 1,
- "errorCode": 1,
- "errorMsg": "Incorrect answers",
- "responseDetail": {
- "getScore": { }
}
}
authToken | string (authToken) Session token obtained from /onboarding/authentication/authenticate for authentication process |
nationalIdType | string Type of the national ID. |
nationalIdNumber | string National ID number. |
object (nationalIdFields) attributes of an individual |
{- "authToken": "cd8d9b72-55bc-4aee-bfc5-a622d4a2a379",
- "nationalIdType": "CPF",
- "nationalIdNumber": "123456789",
- "fields": {
- "name": "John Doe Smith",
- "birthDate": "2020-10-19T00:00:00.000Z",
- "motherName": "Mary Smith"
}
}
{- "authStatus": 1,
- "errorCode": 1,
- "errorMsg": "Incorrect answers",
- "responseDetail": { },
- "checks": {
- "cpfVerified": true,
- "complianceVerified": true,
- "biometricVerified": true
}
}
authToken | string (authToken) Session token obtained from /onboarding/authentication/authenticate for authentication process |
{- "authToken": "cd8d9b72-55bc-4aee-bfc5-a622d4a2a379"
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
reEnrollmentToken | string (reEnrollmentToken) Session token obtained from /onboarding/enrollment/enroll for re-enrollment process |
object (faceLivenessRequest) |
{- "reEnrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "faceLivenessData": {
- "video": {
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}, - "workflow_data": {
- "workflow": "charlie4",
- "frames": [
- {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134137
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134158
}, - {
- "data": "<base64 encoded image>",
- "tags": [ ],
- "timestamp": 1581714134189
}
]
}
}
}
}
{- "livenessResult": true,
- "matchResult": true,
- "matchScore": 100,
- "authStatus": 1,
- "faceLivenessResults": {
- "video": {
- "liveness_result": {
- "decision": "LIVE",
- "feedback": [ ],
- "score_frr": 0.5301376318487142
}
}
}
}
reEnrollmentToken | string (reEnrollmentToken) Session token obtained from /onboarding/enrollment/enroll for re-enrollment process |
object (analyzeRequest) |
{- "reEnrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "livenessData": {
- "voice": {
- "voiceSamples": [
- {
- "data": "base64 voice sample"
}
], - "workflow": "alfa4",
- "meta_data": {
- "client_device_brand": "Apple",
- "client_device_model": "iPhone 8",
- "client_os_version": "11.0.3",
- "client_version": "KnomiSLive_v:2.4.1_b:0.0.0_sdk_v:2.4.1_b:0.0.0",
- "localization": "en-US",
- "programming_language_version": "Swift 4.1",
- "username": "test"
}
}
}
}
{- "livenessResult": true,
- "matchResult": true,
- "matchScore": 100,
- "authStatus": "2 (Complete)",
- "voiceLivenessResults": ""
}
reEnrollmentToken | string (reEnrollmentToken) Session token obtained from /onboarding/enrollment/enroll for re-enrollment process |
deviceId | string (deviceId) Device Id used for enrollment and authentication |
addOrUpdate | integer (addOrUpdate) Enum: 0 1 0=add a new device, 1=replace with this device and remove existing ones |
{- "reEnrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "deviceId": "samsung001",
- "addOrUpdate": 0
}
{- "mpinId": "c324f5e55e377de0343f37019ad5b77b8b01bdfee40014a54d76fd934e36a792",
- "activationToken": "763c1005ca540c4db8e6811222c207ea",
- "expireTime": 1634890606,
- "pinUser": "EXAMPLE@AWARE.COM",
- "pinDevice": "277c6b91eca44a45",
- "authStatus": 1
}
reEnrollmentToken | string (reEnrollmentToken) Session token obtained from /onboarding/enrollment/enroll for re-enrollment process |
deviceId | string (deviceId) Device Id used for enrollment and authentication |
addOrUpdate | integer (addOrUpdate) Enum: 0 1 0=add a new device, 1=replace with this device and remove existing ones |
pinId | string Identifier for new pin identity created for the user. |
{- "reEnrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "deviceId": "samsung001",
- "addOrUpdate": 0,
- "pinId": "c324f5e55e377de0343f37019ad5b77b8b01bdfee40014a54d76fd934e36a792"
}
{- "authStatus": 1,
- "message": "SUCCESS"
}
reEnrollmentToken | string (reEnrollmentToken) Session token obtained from /onboarding/enrollment/enroll for re-enrollment process |
apSessionId | string (apSessionId) generated by device profile JavaScript on the phone |
{- "reEnrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "apSessionId": "59673504-c8ef-4b75-9454-85ba743981af"
}
{- "authStatus": 1,
- "responseDetail": {
- "getScore": { }
}
}
Complete re-enrollment process, can add a new device or replace device if needed.
reEnrollmentToken | string (reEnrollmentToken) Session token obtained from /onboarding/enrollment/enroll for re-enrollment process |
deviceId | string (deviceId) Device Id used for enrollment and authentication |
publicKey | string (publicKey) Cryptographic ECDSA public key of this device, encoded in BASE64 |
addOrUpdate | integer (addOrUpdate) Enum: 0 1 0=add a new device, 1=replace with this device and remove existing ones |
{- "reEnrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "deviceId": "samsung001",
- "publicKey": "MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAE1cb6JHFagjftVneg8BIC4imWr48rF0Pvw17SaMhubbiA3+0oyF+u620YmhtvbBAQn87Ldda3eATw4D3/PfHx+g==",
- "addOrUpdate": 0
}
{- "registrationCode": "GRCDX3"
}
reEnrollmentToken | string (reEnrollmentToken) Session token obtained from /onboarding/enrollment/enroll for re-enrollment process |
{- "reEnrollmentToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340"
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
username required | string An unique identifier |
string (optional) Email address | |
phoneNumber | string (optional) Phone number |
object (enrollmentB2CNotifyOptions) |
{- "username": "xfghj",
- "email": "johndoe@gmail.com",
- "phoneNumber": 17816445555,
- "notifyOptions": {
- "notifyByEmail": true
}
}
{- "status": "SUCCESS",
- "sessionToken": "DGJHDIUEIHOEWUIEOO",
- "qrcodeImage": "iVGDHSGJKDH"
}
username required | string An unique identifier |
object (authenticateB2CNotifyOptions) |
{- "username": "xfghj",
- "notifyOptions": {
- "notifyByEmail": true
}
}
{- "status": "SUCCESS",
- "sessionToken": "DGJHDIUEIHOEWUIEOO",
- "qrcodeImage": "iVGDHSGJKDH"
}
sessionToken required | string Example: 9336b7b9-6a37-4aca-91b0-10b929e5c340 The session token issued for a B2C operation |
curl --request GET \ --url https://cluster_name/onboarding/b2c/operationStatus/%7BsessionToken%7D \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "completionStatus": "Pending"
}
username required | string An unique identifier |
email required | string Email address |
firstName | string (optional) First name |
lastName | string (optional) Last name |
phoneNumber | string (optional) Phone number |
image required | string base64 encoded face image |
{- "username": "TroyKohler",
- "email": "TroyKohler@mireya.netinfo",
- "firstName": "Troy",
- "lastName": "Kohler",
- "phoneNumber": "774-296-1793",
- "image": "/9j/9FAQS ..."
}
{- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa"
}
galleryName | string (optional) Gallery name. If not specified, the default (system) gallery will be used for matching |
candidateListSize | number Default: 100 (optional) Limit the number of match result to be returned |
cutoffScorePercent | number <double> Default: 50 (optional) Return only matched candidate which has match scorePercent > cutoffScorePercent |
includeImage | boolean Default: false (optional) Retrieve matched candidate image if this is true |
candidateList | Array of strings (registrationCode) (optional) Specify a list of registrationCode for partial match, i.e. only candidates in this list will be matched agaist |
image required | string base64 encoded face image |
{- "galleryName": "gallery1",
- "candidateListSize": 20,
- "cutoffScorePercent": 90,
- "includeImage": true,
- "candidateList": [
- "cad27b38-a0da-4599-b376-40eb533e38aa"
], - "image": "/9j/9FAQS ..."
}
{- "matchCount": 1,
- "list": [
- {
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa",
- "username": "string",
- "email": "string",
- "firstName": "string",
- "lastName": "string",
- "image": "string",
- "template": "string",
- "matchScore": 50.15,
- "matchScorePercent": 100
}
]
}
galleryName required | string (galleryName) The name of a custom gallery |
{- "galleryName": "gallery1"
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
galleryName required | string (galleryName) The name of a custom gallery |
{- "galleryName": "gallery1"
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
curl --request GET \ --url https://cluster_name/onboarding/gallery/listGallery \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "list": [
- {
- "galleryName": "gallery1",
- "numberOfRegistrations": "25",
- "lastUpdated": "2023-08-25T09:40:10.000Z",
- "lastUpdatedUuid": "84bc90e2-20b2-4c75-a865-da6b18837fbc"
}
]
}
galleryName required | string (galleryName) The name of a custom gallery |
username | string An unique identifier. Note this is not required if registrationCode is provided. |
registrationCode | string (registrationCode) Registration code received after enrollment completed successfully |
{- "galleryName": "gallery1",
- "username": "TroyKohler",
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa"
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
galleryNames | Array of strings (galleryName) array of galleries |
usernames | Array of strings array of user names |
registrationCodes | Array of strings (registrationCode) array of registration codes |
{- "galleryNames": [
- "gallery1"
], - "usernames": [
- "TroyKohler"
], - "registrationCodes": [
- "cad27b38-a0da-4599-b376-40eb533e38aa"
]
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
galleryName required | string (galleryName) The name of a custom gallery |
username | string An unique identifier. Note this is not required if registrationCode is provided. |
registrationCode | string (registrationCode) Registration code received after enrollment completed successfully |
{- "galleryName": "gallery1",
- "username": "TroyKohler",
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa"
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
galleryNames | Array of strings (galleryName) array of galleries |
usernames | Array of strings array of user names |
registrationCodes | Array of strings (registrationCode) array of registration codes |
{- "galleryNames": [
- "gallery1"
], - "usernames": [
- "TroyKohler"
], - "registrationCodes": [
- "cad27b38-a0da-4599-b376-40eb533e38aa"
]
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
registrationCode | string Registration code received after enrollment completed successfully |
galleryName required | string (galleryName) The name of a custom gallery |
username | string An unique identifier. Note this is not required if registrationCode is provided. |
{- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa",
- "galleryName": "gallery1",
- "username": "TroyKohler"
}
{- "exist": true
}
username | string An unique identifier. Note this is not required if registrationCode is provided. |
registrationCode | string (registrationCode) Registration code received after enrollment completed successfully |
{- "username": "TroyKohler",
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa"
}
{- "list": [
- "gallery1"
]
}
galleryName | string (optional) Gallery name. If not specified, the default (system) gallery will be used for matching |
pageNumber | number Default: 1 (optional) Specify the page of records to be retrieved |
pageSize | number Default: 100 (optional) Specify the number of records per page to be retrieved |
includeImage | boolean Default: false (optional) Retrieve user's face image if this is true |
includeTemplate | boolean Default: false (optional) Retrieve user's face template if this is true |
{- "galleryName": "gallery1",
- "pageNumber": 2,
- "pageSize": 20,
- "includeImage": true,
- "includeTemplate": true
}
{- "pageNumber": 2,
- "pageSize": 20,
- "totalRecords": 1007,
- "totalPages": 51,
- "list": [
- {
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa",
- "username": "string",
- "email": "string",
- "firstName": "string",
- "lastName": "string",
- "image": "string",
- "template": "string"
}
]
}
Returns all stored geocoding definitions
curl --request GET \ --url https://cluster_name/compliance/geofence/definitions \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
[- {
- "type": "include",
- "geofence": {
- "type": "admin",
- "definitions": [
- {
- "country": "Canada",
- "states": [
- "Alberta"
]
}
]
}
}
]
Returns a geofence definition (Administrative Boundary, Circular , or Custom) based on the specified geofence name.
geofenceName required | string The name of the geofence to fetch. |
curl --request GET \ --url https://cluster_name/compliance/geofence/definitions/%7BgeofenceName%7D
{- "type": "include",
- "geofence": {
- "type": "admin",
- "definitions": [
- {
- "country": "Canada",
- "states": [
- "Alberta"
]
}
]
}
}
Updates an existing geofence definition identified by the geofenceName
.
geofenceName required | string The name of the geofence to update. |
type | string Value: "include" |
object (AdminGeofence_geofence) |
{- "type": "include",
- "geofence": {
- "type": "admin",
- "definitions": [
- {
- "country": "Canada",
- "states": [
- "Alberta"
]
}
]
}
}
Create a new geofence definition in the system by uniquely giving it a geofenceName
.
geofenceName required | string A unique name for the geofence definition. |
type | string Value: "include" |
object (AdminGeofence_geofence) |
{- "type": "include",
- "geofence": {
- "type": "admin",
- "definitions": [
- {
- "country": "Canada",
- "states": [
- "Alberta"
]
}
]
}
}
Deletes a specific geofence definition identified by the geofence name.
geofenceName required | string The name of the geofence to delete. |
curl --request DELETE \ --url https://cluster_name/compliance/geofence/definitions/%7BgeofenceName%7D
Toggles the status of a geofence (e.g., Enable/Disable) identified by the geofenceName
.
geofenceName required | string The name of the geofence whose status is to be toggled. |
{ }
{- "isEnabled": true,
- "message": "Geofence 'UniversityCampus' was successfully 'enabled'"
}
pageNumber | integer Page number |
pageSize | integer Number of records per page |
{- "pageNumber": 1,
- "pageSize": 100
}
{- "pageNumber": 1,
- "pageSize": 100,
- "totalPages": 1,
- "totalRecords": 1,
- "list": [
- {
- "name": "John Doe",
- "email": "jdoe@gmail.com",
- "phoneNumber": "16173457890",
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa"
}
]
}
registrationCode required | string Example: cad27b38-a0da-4599-b376-40eb533e38aa Registration code |
curl --request GET \ --url https://cluster_name/onboarding/admin/registration/%7BregistrationCode%7D \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "startDate": "string",
- "registrationCode": "cad27b38-a0da-4599-b376-40eb533e38aa",
- "registeredDevices": [
- {
- "deviceId": "samsung001",
- "registeredTime": "02-23-2021 13:37:18"
}
], - "activities": [
- {
- "operationType": "Enrollment",
- "activityType": "Enrollment initiated",
- "activityTime": "02-23-2021 13:36:18"
}
]
}
registrationCode required | string Example: cad27b38-a0da-4599-b376-40eb533e38aa Registration code |
curl --request DELETE \ --url https://cluster_name/onboarding/admin/registration/%7BregistrationCode%7D \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
curl --request GET \ --url https://cluster_name/onboarding/admin/customerConfig \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "onboardingConfig": {
- "onboardingOptions": {
- "enrollment": {
- "addDevice": true,
- "addPIN": true,
- "addFace": true,
- "addVoice": true,
- "addDocument": true,
- "icaoVerification": "MANDATORY"
}, - "authentication": {
- "verifyDevice": "ID|CRYPTOKEY",
- "verifyPIN": true,
- "verifyFace": true,
- "verifyVoice": true
}, - "reenrollment": {
- "verifyFace": true,
- "verifyVoice": true
}
}, - "maxDeviceIds": 3,
- "maxAuthenticationAttempts": 4,
- "saveToSubjectManager": 1,
- "recordEnrollmentVideo": true,
- "recordAuthenticationVideo": true,
- "recordRenrollmentVideo": true
}, - "serviceVersion": "1.0.5",
- "expirationTime": "2023-06-16 00:00:00 +0000 UTC"
}
object (customerConfigDataRequest_onboardingConfig) |
{- "onboardingConfig": {
- "onboardingOptions": {
- "enrollment": {
- "addDevice": true,
- "addPIN": true,
- "addFace": true,
- "addVoice": true,
- "addDocument": true,
- "icaoVerification": "MANDATORY"
}, - "authentication": {
- "verifyDevice": "ID|CRYPTOKEY",
- "verifyPIN": true,
- "verifyFace": true,
- "verifyVoice": true
}, - "reenrollment": {
- "verifyFace": true,
- "verifyVoice": true
}
}, - "maxDeviceIds": 3,
- "maxAuthenticationAttempts": 4,
- "saveToSubjectManager": 1
}
}
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
type required | string Enum: "enrollment" "authentication" "re-enrollment" Specify recording type, supported types are enrollment, authentication, and re-enrollment |
token required | string This should be the enrollment token for enrollment, authentication token, or re-enrollment token |
presignedURL | boolean Default: false To request a presigned URL (valid for 1 hour) |
{- "type": "enrollment",
- "token": "105216c6-92df-4a12-a215-77e3c609668f",
- "presignedURL": false
}
{- "vendor": "AWS",
- "bucketName": "awareid-data",
- "objectKey": "awareid-dev-aware-apis-com/boa/recording/enrollment/105216c6-92df-4a12-a215-77e3c609668f",
- "credential": {
- "accessKey": "ASIATSYJR5KPOIJ5ZTL3",
- "secretKey": "158tDf+YGrjUWLV8TK/q1XxkacvMw5Rckmmdqbsf",
- "sessionToken": "FwoGZXIvYXdzEOb//////////wEaDOxs5natX3hblGVRgSLIAc9228FeJoYV8JtH6JrQkjyZ1ui/LwnWG/POZ7lyGM0M/CQChI4XG0JyhDC7lwkIs/ipDl10csJzXkCfsgdkWhWePVXaL5Q+5FiocZYvUN9D9zfuVS8bM+/wsCNryVdpeca6uMhHnpS93TiDtIPQASwVkbDY333wFc726fMFcn4WCNu4nNg+aMBamSghnYdqoRHTy4IDKArLTxgKMus2oRHSKwbig9/SibMvnZBIEzwbKA6QeyEvRQ20ckM8L5VKOYQQsKOfNbynKL3P/aYGMi3dM/NfU0QPqSVSJaEld0uVR9KyPKz+HfWGpShbhr8cuhmvHvs/G+OuCcpUHn0=",
- "region": "US-EAST-1"
}
}
curl --request GET \ --url https://cluster_name/webhook/registration \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "list": [
- {
- "webhookId": "486a5c0c27db4ebbbf970deacc755a25",
- "secretKey": "7+gmiAMF2E0nogAsNeHE8pLUMxYnIuslW5q/3RsuX3I=",
- "authHeaderKey": "boc_key",
- "authHeaderValue": "boc_secret",
- "encryptMessageBody": false,
- "addSignatureHeader": false,
- "events": [
- "enrollment.started"
]
}
]
}
Call this API to register a webhook
url required | string <uri> (webhook_url) callback URL |
authHeaderKey | string (webhook_authHeaderKey) authentication header key |
authHeaderValue | string (webhook_authHeaderValue) authentication header value |
encryptMessageBody | boolean (webhook_encryptMessageBody) Default: true When true, event message body will be encrypted |
addSignatureHeader | boolean (webhook_addSignatureHeader) Default: true When true, HMAC signature will be calculated from the message body and added to header |
events required | Array of strings (webhook_eventType) Items Enum: "enrollment.started" "enrollment.cancelled" "enrollment.device.added" "enrollment.face.check" "enrollment.voice.check" "enrollment.ocr.check" "enrollment.icao.check" "enrollment.b2c.started" "enrollment.b2c.completed" "enrollment.completed" "authentication.started" "authentication.cancelled" "authentication.face.check" "authentication.voice.check" "authentication.b2c.started" "authentication.b2c.completed" "authentication.completed" "reenrollment.started" "reenrollment.cancelled" "reenrollment.face.check" "reenrollment.voice.check" "reenrollment.b2c.started" "reenrollment.b2c.completed" "reenrollment.completed" list of events to subscribe |
{- "authHeaderKey": "boc_key",
- "authHeaderValue": "boc_secret",
- "encryptMessageBody": false,
- "addSignatureHeader": false,
- "events": [
- "enrollment.started"
]
}
{- "secret": "U6iZUV4/jhwLeqkwV+tAzn5zncVNSwvSEhppr8M20XY=",
- "webhookId": "486a5c0c27db4ebbbf970deacc755a25"
}
{- "id": "b6ea6be6-5e11-4946-9dc2-d41db57c5171",
- "created": "2022-02-16T14:33:11.889-0500",
- "type": "enrollment.started",
- "operationToken": "9336b7b9-6a37-4aca-91b0-10b929e5c340",
- "username": "string",
- "data": {
- "username": "xfghj",
- "email": "johndoe@gmail.com",
- "phoneNumber": 17816445555
}
}
webhookId required | string Example: 486a5c0c27db4ebbbf970deacc755a25 webhook identifier |
curl --request GET \ --url https://cluster_name/webhook/registration/%7BwebhookId%7D \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "webhookId": "486a5c0c27db4ebbbf970deacc755a25",
- "secretKey": "7+gmiAMF2E0nogAsNeHE8pLUMxYnIuslW5q/3RsuX3I=",
- "authHeaderKey": "boc_key",
- "authHeaderValue": "boc_secret",
- "encryptMessageBody": false,
- "addSignatureHeader": false,
- "events": [
- "enrollment.started"
]
}
webhookId required | string Example: 486a5c0c27db4ebbbf970deacc755a25 webhook identifier |
curl --request DELETE \ --url https://cluster_name/webhook/registration/%7BwebhookId%7D \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{- "errorCode": "INPUT_FORMAT_ERROR",
- "errorMsg": "Field is missing",
- "status": 400,
- "timestamp": "2021-10-12T01:06:24.000Z"
}
Call this API to update a webhook
webhookId required | string Example: 486a5c0c27db4ebbbf970deacc755a25 webhook identifier |
generateNewSecret | boolean true to generate a new secret |
url | string <uri> (webhook_url) callback URL |
authHeaderKey | string (webhook_authHeaderKey) authentication header key |
authHeaderValue | string (webhook_authHeaderValue) authentication header value |
encryptMessageBody | boolean (webhook_encryptMessageBody) Default: true When true, event message body will be encrypted |
addSignatureHeader | boolean (webhook_addSignatureHeader) Default: true When true, HMAC signature will be calculated from the message body and added to header |
events | Array of strings (webhook_eventType) Items Enum: "enrollment.started" "enrollment.cancelled" "enrollment.device.added" "enrollment.face.check" "enrollment.voice.check" "enrollment.ocr.check" "enrollment.icao.check" "enrollment.b2c.started" "enrollment.b2c.completed" "enrollment.completed" "authentication.started" "authentication.cancelled" "authentication.face.check" "authentication.voice.check" "authentication.b2c.started" "authentication.b2c.completed" "authentication.completed" "reenrollment.started" "reenrollment.cancelled" "reenrollment.face.check" "reenrollment.voice.check" "reenrollment.b2c.started" "reenrollment.b2c.completed" "reenrollment.completed" list of events to subscribe |
{- "generateNewSecret": true,
- "authHeaderKey": "boc_key",
- "authHeaderValue": "boc_secret",
- "encryptMessageBody": false,
- "addSignatureHeader": false,
- "events": [
- "enrollment.started"
]
}
{- "secret": "U6iZUV4/jhwLeqkwV+tAzn5zncVNSwvSEhppr8M20XY=",
- "webhookId": "486a5c0c27db4ebbbf970deacc755a25"
}
webhookId | string (webhook_webhookId) unique identifier received after successfully registered a webhook |
Array of objects (webhook_transactionNum) List of transactionNum |
{- "webhookId": "486a5c0c27db4ebbbf970deacc755a25",
- "list": [
- {
- "transactionNum": "id=27c313d3-0273-40c2-b365-fc93b0b00a7f;type=facialImage"
}
]
}
{- "list": [
- {
- "transactionNum": "812fa72b-b747-4465-acd2-f79a98aa3789",
- "data": { }
}
]
}