Identification
Identification answers "who is this person?": it compares new samples with every user of a group (1:N) and returns the best candidates.
Biometric operations take the application in the applicationId header. Each one has three steps: start the operation, send the samples with its operationId and repeat while the response is 202, then read the operation from your backend.
Start a face identification
/identification/face/start Access tokenStarts a face identification and returns the operationId to send with the samples.
Roles: API · SDK
You can skip the start call if Mobbeel has preconfigured your application: then send your own operationId with the samples, or none and MobbID generates one.
Headers
applicationIdstring· uuidRequiredYour application ID.
Response200 · application/json
operationIdstring· uuidOptionalIdentifier of the new operation. Send it with the samples.
Status codes
- 200Operation started.
- 400Missing or invalid parameters.
- 401Invalid or expired auth token.
TOKEN_NOT_VALID. - 403The biometric method is not enabled for the application.
BIOMETRIC_METHOD_NOT_ENABLED. - 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X POST 'https://{SERVER-URL}/api/v7/identification/face/start' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'applicationId: <applicationId>'
application/json{
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c"
}
Identify a user (face)
/identification/face Access tokenSearches a group for the person in face images or a short video (1:N) and returns up to 10 candidates, ordered by score. Without groupId, the search covers the DEFAULT group, which contains every enrolled user.
Roles: API · SDK
Headers
applicationIdstring· uuidRequiredYour application ID.
transactionIdstringOptionalYour own identifier of a transaction that groups several operations (for example, detections followed by an enrolment), for monitoring and audit.
Request bodymultipart/form-data
operationIdstring· uuidRequiredIdentifier of the operation.
groupIdstringOptionalGroup to search in. Defaults to
DEFAULT, which contains every enrolled user.Default:DEFAULTsamplesfile[]RequiredFace images (JPEG, PNG) or a short video (MP4). Repeat the field to send several.
livenessMethodnumberOptionalLiveness method for presentation attack detection:
1passive video (the user holds still for a moment),2passive image. Omit it to send a single image without liveness.
Response200 · application/json
operationIdstringRequiredIdentifier of the identification operation.
progressnumberRequiredProgress of the identification, from 0 to 100. Below 100, send more samples with the same
operationId.identifiedbooleanRequiredtrueif a user was identified.rankingobject[]RequiredUp to 10 candidates, ordered by
identityVerificationscore (highest first).detectedFaceobjectOptional
Status codes
- 200Identification finished. Read
identifiedandranking. - 202More samples are needed: send them with the same
operationId. - 400The sample cannot be used.
BAD_SAMPLE_FORMAT,BAD_SAMPLE_QUALITY,NO_SAMPLE_DETECTED,NOT_ENOUGH_SAMPLE_DATA_DETECTED,MULTIPLE_SAMPLES_DETECTED. - 401Invalid or expired auth token.
TOKEN_NOT_VALID. - 403The biometric method is not enabled for the application.
BIOMETRIC_METHOD_NOT_ENABLED. - 409The operation was not started, or its ID was already used.
PROCESS_NOT_STARTED,OPERATION_ALREADY_EXISTS. - 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X POST 'https://{SERVER-URL}/api/v7/identification/face' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'applicationId: <applicationId>' \
-H 'transactionId: <transactionId>' \
-F 'operationId=3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c' \
-F 'groupId=DEFAULT' \
-F 'livenessMethod=1' \
-F 'samples=@selfie.mp4'
application/json{
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"progress": 100,
"identified": true,
"ranking": [
{
"userId": "user-0001",
"score": {
"liveness": 0.96,
"matching": 0.91,
"identityVerification": 0.93
}
}
],
"detectedFace": {
"probe": {
"detected": true,
"box": {
"x": 412,
"y": 236,
"w": 318,
"h": 402
},
"extractedSelfie": "CgRGQUNFEhQyMDI2LTExLTA0VDEwOjE1OjMwWhoE…"
}
}
}
Identify a user with a template (face)
/identification/face/template Access tokenSearches a group for the person of a face template. Requires a started operation.
Roles: API · SDK
Headers
applicationIdstring· uuidRequiredYour application ID.
transactionIdstringOptionalYour own identifier of a transaction that groups several operations (for example, detections followed by an enrolment), for monitoring and audit.
Request bodymultipart/form-data
operationIdstring· uuidRequiredIdentifier of the operation.
groupIdstringOptionalGroup to search in. Defaults to
DEFAULT.Default:DEFAULTtemplatestring· base64RequiredTemplate to identify, in base64.
Response200 · application/json
operationIdstringRequiredIdentifier of the identification operation.
progressnumberRequiredProgress of the identification, from 0 to 100. Below 100, send more samples with the same
operationId.identifiedbooleanRequiredtrueif a user was identified.rankingobject[]RequiredUp to 10 candidates, ordered by
identityVerificationscore (highest first).
Status codes
- 200Up to 10 candidates, ordered by score.
- 400Invalid template.
BAD_TEMPLATE_FORMAT,TEMPLATE_VERSIONS_DO_NOT_MATCH. - 401Invalid or expired auth token.
TOKEN_NOT_VALID. - 403The biometric method is not enabled for the application.
BIOMETRIC_METHOD_NOT_ENABLED. - 409The operation was not started.
PROCESS_NOT_STARTED. - 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X POST 'https://{SERVER-URL}/api/v7/identification/face/template' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'applicationId: <applicationId>' \
-H 'transactionId: <transactionId>' \
-F 'operationId=3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c' \
-F 'groupId=DEFAULT' \
-F 'template=CgRGQUNFEhQyMDI2…'
application/json{
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"progress": 100,
"identified": true,
"ranking": [
{
"userId": "user-0001",
"score": {
"liveness": 0.96,
"matching": 0.91,
"identityVerification": 0.93
}
}
]
}
Start a voice identification
/identification/voice/start Access tokenStarts a voice identification and returns the operationId to send with the samples.
Roles: API · SDK
You can skip the start call if Mobbeel has preconfigured your application: then send your own operationId with the samples, or none and MobbID generates one.
Headers
applicationIdstring· uuidRequiredYour application ID.
Response200 · application/json
operationIdstring· uuidOptionalIdentifier of the new operation. Send it with the samples.
Status codes
- 200Operation started.
- 400Missing or invalid parameters.
- 401Invalid or expired auth token.
TOKEN_NOT_VALID. - 403The biometric method is not enabled for the application.
BIOMETRIC_METHOD_NOT_ENABLED. - 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X POST 'https://{SERVER-URL}/api/v7/identification/voice/start' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'applicationId: <applicationId>'
application/json{
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c"
}
Identify a user (voice)
/identification/voice Access tokenSearches a group for the person in voice recordings (1:N) and returns up to 10 candidates, ordered by score. Without groupId, the search covers the DEFAULT group, which contains every enrolled user.
Roles: API · SDK
Headers
applicationIdstring· uuidRequiredYour application ID.
transactionIdstringOptionalYour own identifier of a transaction that groups several operations (for example, detections followed by an enrolment), for monitoring and audit.
Request bodymultipart/form-data
operationIdstring· uuidRequiredIdentifier of the operation.
groupIdstringOptionalGroup to search in. Defaults to
DEFAULT, which contains every enrolled user.Default:DEFAULTsamplesfile[]RequiredVoice recordings (OGG, MP3, WAV). Repeat the field to send several.
livenessMethodnumberOptionalLiveness method for voice:
0(VOICE_PLA) detects replayed recordings and AI-generated voices. Omit it to skip liveness.userIdsstring[]OptionalUsers to search among, instead of a group.
Response200 · application/json
operationIdstringRequiredIdentifier of the identification operation.
progressnumberRequiredProgress of the identification, from 0 to 100. Below 100, send more samples with the same
operationId.identifiedbooleanRequiredtrueif a user was identified.rankingobject[]RequiredUp to 10 candidates, ordered by
identityVerificationscore (highest first).
Status codes
- 200Identification finished. Read
identifiedandranking. - 202More samples are needed: send them with the same
operationId. - 400The sample cannot be used.
BAD_SAMPLE_FORMAT,BAD_SAMPLE_QUALITY,NO_SAMPLE_DETECTED. - 401Invalid or expired auth token.
TOKEN_NOT_VALID. - 403The biometric method is not enabled for the application.
BIOMETRIC_METHOD_NOT_ENABLED. - 409The operation was not started, or its ID was already used.
PROCESS_NOT_STARTED,OPERATION_ALREADY_EXISTS. - 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X POST 'https://{SERVER-URL}/api/v7/identification/voice' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'applicationId: <applicationId>' \
-H 'transactionId: <transactionId>' \
-F 'operationId=3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c' \
-F 'groupId=DEFAULT' \
-F 'livenessMethod=0' \
-F 'samples=@voice.wav'
application/json{
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"progress": 100,
"identified": true,
"ranking": [
{
"userId": "user-0001",
"score": {
"liveness": 0.96,
"matching": 0.91,
"identityVerification": 0.93
}
}
]
}
Identify a user with a template (voice)
/identification/voice/template Access tokenSearches a group for the person of a voice template. Requires a started operation.
Roles: API · SDK
Headers
applicationIdstring· uuidRequiredYour application ID.
transactionIdstringOptionalYour own identifier of a transaction that groups several operations (for example, detections followed by an enrolment), for monitoring and audit.
Request bodymultipart/form-data
operationIdstring· uuidRequiredIdentifier of the operation.
groupIdstringOptionalGroup to search in. Defaults to
DEFAULT.Default:DEFAULTtemplatestring· base64RequiredTemplate to identify, in base64.
Response200 · application/json
operationIdstringRequiredIdentifier of the identification operation.
progressnumberRequiredProgress of the identification, from 0 to 100. Below 100, send more samples with the same
operationId.identifiedbooleanRequiredtrueif a user was identified.rankingobject[]RequiredUp to 10 candidates, ordered by
identityVerificationscore (highest first).
Status codes
- 200Up to 10 candidates, ordered by score.
- 400Invalid template.
BAD_TEMPLATE_FORMAT,TEMPLATE_VERSIONS_DO_NOT_MATCH. - 401Invalid or expired auth token.
TOKEN_NOT_VALID. - 403The biometric method is not enabled for the application.
BIOMETRIC_METHOD_NOT_ENABLED. - 409The operation was not started.
PROCESS_NOT_STARTED. - 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X POST 'https://{SERVER-URL}/api/v7/identification/voice/template' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'applicationId: <applicationId>' \
-H 'transactionId: <transactionId>' \
-F 'operationId=3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c' \
-F 'groupId=DEFAULT' \
-F 'template=CgRGQUNFEhQyMDI2…'
application/json{
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"progress": 100,
"identified": true,
"ranking": [
{
"userId": "user-0001",
"score": {
"liveness": 0.96,
"matching": 0.91,
"identityVerification": 0.93
}
}
]
}