cURL
curl --request PUT \ --url https://api.artemis.cynopsis.co/api/customer/{customerId}/document/{documentId}/liveness \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Domain-ID: <x-domain-id>' \ --data ' { "conclusion": true, "auditImages": "<string>", "faceDetails": { "eyesClosed": { "value": false, "confidence": 123 }, "sunglasses": { "value": false, "confidence": 123 }, "faceOccluded": { "value": false, "confidence": 123 } }, "facialCheck": true, "livenessResult": true, "referenceImage": "<string>", "liivenessConfidence": 123 } '
{ "id": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "createdBy": { "email": "<string>", "firstName": "<string>", "fullName": "<string>", "id": 123, "lastName": "<string>" }, "updatedBy": { "email": "<string>", "firstName": "<string>", "fullName": "<string>", "id": 123, "lastName": "<string>" }, "customerId": 123, "frontName": "<string>", "backName": "<string>", "type": "<string>", "number": "<string>", "authenticity": "<string>", "issueDate": "2023-12-25", "expiryDate": "2023-12-25", "showExpiryNotification": true, "front": "<string>", "back": "<string>", "docverCheckStatus": "PERFORMED", "faceCompare": {}, "liveness": {}, "other": {}, "allowedDocumentFormat": true }
Description:
The access token received from the authorization server in the OAuth 2.0 flow.
X-Domain-ID
customerId
documentId
LivenessResultRequestDto
Show child attributes
OK
PERFORMED
NOT_PERFORMED