Skip to main content
PUT
/
api
/
customer
/
{customerId}
/
document
/
{documentId}
/
liveness
updateLivenessResult
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
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Domain-ID
integer
required

X-Domain-ID

Path Parameters

customerId
integer
required

customerId

documentId
integer
required

documentId

Body

application/json

LivenessResultRequestDto

conclusion
boolean
auditImages
string
faceDetails
object
facialCheck
boolean
livenessResult
boolean
referenceImage
string
liivenessConfidence
integer

Response

OK

id
integer
createdAt
string<date-time>
updatedAt
string<date-time>
createdBy
object
updatedBy
object
customerId
integer
frontName
string
backName
string
type
string
number
string
authenticity
string
issueDate
string<date>
expiryDate
string<date>
showExpiryNotification
boolean
front
string
back
string
docverCheckStatus
enum<string>
Available options:
PERFORMED,
NOT_PERFORMED
faceCompare
object
liveness
object
other
object
allowedDocumentFormat
boolean