Skip to main content

FaceApi

MethodHTTP requestDescription
createFaceAuthenticatorUsingPOSTPOST /api/web/v2/users/{userid}/faceCreate a Face Biometric for a user
createFaceUsingPOSTPOST /api/web/v1/users/{userid}/faceCreate a Face Biometric for a user
deleteFaceUsingDELETEDELETE /api/web/v1/face/{faceid}Delete a Face Biometric by UUID
getFacesUsingGETGET /api/web/v1/users/{userid}/facesGet a list of Face Biometric for a given user
getUserFaceSettingsUsingGETGET /api/web/v1/users/{userid}/settings/faceGet a users Face Biometric settings
sendFaceActivationEmailUsingPUTPUT /api/web/v1/face/{faceid}/activationSend an activation email for the Face Biometric
updateFaceUsingPUTPUT /api/web/v1/users/{userid}/faceUpdate the Face Biometric for a given user

createFaceAuthenticatorUsingPOST

FaceCreateResponse createFaceAuthenticatorUsingPOST(userid, faceCreateParms)

Create a Face Biometric for a user

Create a Face Biometric authenticator for the specified user. Caller requires the FACE:ADD permission.
The Face Biometric can be created using either the web flow or the mobile flow.
If using the web flow, the Face Biometric can optionally use the Onfido applicantId and workflowRunId to link the Face Biometric to the correct Onfido applicant and workflow run.
If using the mobile flow, setting deliverActivationEmail to true will send an activation email to the user with instructions to download the mobile app and complete activation.
Setting returnQRCode to true will include a QR code in the response that can be scanned by the user to start the activation process.
If using the IDaaS stored biometric web flow, the encryptedBiometricToken parameter is required and must include both the encrypted biometric token and the customer user ID used to create the token in Onfido.

Parameters

NameTypeDescriptionNotes
useridString
faceCreateParmsFaceCreateParms

Return type

FaceCreateResponse

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

createFaceUsingPOST

FaceAuthenticator createFaceUsingPOST(userid, faceCreateParms)

Create a Face Biometric for a user

Create a Face for the specified user. Caller requires the FACE:ADD permission.

Example

Parameters

NameTypeDescriptionNotes
useridString
faceCreateParmsFaceCreateParms

Return type

FaceAuthenticator

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

deleteFaceUsingDELETE

deleteFaceUsingDELETE(faceid)

Delete a Face Biometric by UUID

Delete a Face Biometric authenticator by the specified UUID. Requires the FACE:REMOVE permission.

Example

Parameters

NameTypeDescriptionNotes
faceidStringThe UUID of the Face Biometric to delete.

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getFacesUsingGET

List<FaceAuthenticator> getFacesUsingGET(userid)

Get a list of Face Biometric for a given user

Get a list of Face Biometrics authenticators for the specified user UUID. Requires the FACE:VIEW permission.

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user to get the Face Biometrics for.

Return type

List<FaceAuthenticator>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

getUserFaceSettingsUsingGET

UserFaceSettings getUserFaceSettingsUsingGET(userid)

Get a users Face Biometric settings

Get Face Biometric settings information for the specified user UUID. Requires the FACE:VIEW permission.

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user to get the settings for.

Return type

UserFaceSettings

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

sendFaceActivationEmailUsingPUT

sendFaceActivationEmailUsingPUT(faceid)

Send an activation email for the Face Biometric

Send an activation email for the Face Biometric authenticator by the specified UUID. Requires the FACE:ADD permission.

Example

Parameters

NameTypeDescriptionNotes
faceidStringThe UUID of the Face Biometric authenticator to send an activation email for.

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

updateFaceUsingPUT

updateFaceUsingPUT(userid, faceUpdateParms)

Update the Face Biometric for a given user

Update the Face Biometric authenticator for the specified user UUID. Requires the FACE:EDIT permission.

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user to update the Face Biometric for.
faceUpdateParmsFaceUpdateParms

Return type

null (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-