Skip to main content

Users

A user is the profile that holds a person's biometric enrolments. Create users, read them, delete them and export their templates.

Create a user​

POST/application/{applicationId}/user Access token

Creates a biometric user, the profile that will hold their enrolments. Send your own userId to reuse the identifiers of your system, or omit it and MobbID assigns a UUID.

Roles: ADMIN · API · SDK

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

Request bodyapplication/json

  • userIdstringOptional

    Identifier of the new user. If omitted, MobbID generates a UUID. Use it to keep the identifiers of your own system.

Response201 · application/json

Returns the The user object

Status codes

  • 201User created.
  • 400Missing or invalid parameters.
  • 401Invalid or expired auth token. TOKEN_NOT_VALID.
  • 404Application not found. APPLICATION_NOT_FOUND.
  • 409The user already exists. USER_ALREADY_EXISTS.
  • 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X POST 'https://{SERVER-URL}/api/v7/application/{applicationId}/user' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"userId": "user-0001"
}'
Responses
201Createdapplication/json
{
"userId": "user-0001",
"enrollments": [
{
"biometricMethod": "FACE",
"createdAt": "2026-11-04T10:15:30Z",
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c"
}
],
"createdAt": "2026-11-04T10:15:30Z",
"updatedAt": "2026-11-04T10:15:30Z",
"groups": [
{
"id": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"biometricMethod": "FACE"
}
]
}

Search users​

POST/application/{applicationId}/user/search Access token

Returns a page of the users of the application that match the search text.

Roles: ADMIN · API

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

Query parameters

  • pageintegerOptional

    Page to return, from 1.

    Default: 1
  • sizeintegerOptional

    Results per page.

    Default: 10

Request bodyapplication/json

  • searchstringOptional

    Text to filter the results by.

Response200 · application/json

  • pageintegerRequired

    Current page.

  • perPageintegerRequired

    Results per page.

  • pageCountintegerRequired

    Number of pages.

  • totalCountintegerRequired

    Number of results.

  • dataobject[]Required

    Users found.

Status codes

  • 200Users found.
  • 400Missing or invalid parameters.
  • 401Invalid or expired auth token. TOKEN_NOT_VALID.
  • 404Application not found. APPLICATION_NOT_FOUND.
  • 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X POST 'https://{SERVER-URL}/api/v7/application/{applicationId}/user/search?page=1&size=10' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"search": "user-00"
}'
Responses
200OKapplication/json
{
"page": 1,
"perPage": 10,
"pageCount": 1,
"totalCount": 1,
"data": [
{
"userId": "user-0001",
"enrollments": [
{
"biometricMethod": "FACE",
"createdAt": "2026-11-04T10:15:30Z",
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c"
}
],
"createdAt": "2026-11-04T10:15:30Z",
"updatedAt": "2026-11-04T10:15:30Z"
}
]
}

Get a user​

GET/application/{applicationId}/user/{userId} Access token

Returns a user with their enrolments and groups.

Roles: ADMIN · API · SDK

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

  • userIdstringRequired

    Identifier of the user.

Response200 · application/json

Returns the The user object

Status codes

  • 200User details.
  • 400Missing or invalid parameters.
  • 401Invalid or expired auth token. TOKEN_NOT_VALID.
  • 404Application or user not found. APPLICATION_NOT_FOUND, USER_NOT_FOUND.
  • 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X GET 'https://{SERVER-URL}/api/v7/application/{applicationId}/user/{userId}' \
-H 'Authorization: Bearer <AUTH_TOKEN>'
Responses
200OKapplication/json
{
"userId": "user-0001",
"enrollments": [
{
"biometricMethod": "FACE",
"createdAt": "2026-11-04T10:15:30Z",
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c"
}
],
"createdAt": "2026-11-04T10:15:30Z",
"updatedAt": "2026-11-04T10:15:30Z",
"groups": [
{
"id": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"biometricMethod": "FACE"
}
]
}

Delete a user​

DELETE/application/{applicationId}/user/{userId} Access token

Permanently deletes a user and all their biometric data.

Roles: ADMIN · API

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

  • userIdstringRequired

    Identifier of the user.

Status codes

  • 204User deleted.
  • 400Missing or invalid parameters.
  • 401Invalid or expired auth token. TOKEN_NOT_VALID.
  • 404Application or user not found. APPLICATION_NOT_FOUND, USER_NOT_FOUND.
  • 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X DELETE 'https://{SERVER-URL}/api/v7/application/{applicationId}/user/{userId}' \
-H 'Authorization: Bearer <AUTH_TOKEN>'
Responses
204No Content

User deleted.

Delete an enrolment​

DELETE/application/{applicationId}/user/{userId}/enrollment/{biometricMethod} Access token

Deletes the enrolment of a user for one biometric method. The user and their other enrolments are kept.

Roles: ADMIN · API

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

  • biometricMethodstringRequired

    Biometric method.

    • faceFace biometrics.
    • voiceVoice biometrics.
  • userIdstringRequired

    Identifier of the user.

Status codes

  • 204Enrolment deleted.
  • 400Missing or invalid parameters.
  • 401Invalid or expired auth token. TOKEN_NOT_VALID.
  • 404Application or user not found. APPLICATION_NOT_FOUND, USER_NOT_FOUND.
  • 409The user is not enrolled in this biometric method. USER_NOT_ENROLLED_IN_BIOMETRIC_METHOD.
  • 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X DELETE 'https://{SERVER-URL}/api/v7/application/{applicationId}/user/{userId}/enrollment/{biometricMethod}' \
-H 'Authorization: Bearer <AUTH_TOKEN>'
Responses
204No Content

Enrolment deleted.

Get a user's template​

GET/application/{applicationId}/user/{userId}/enrollment/{biometricMethod}/template Access token

Returns the biometric template of a user for one biometric method, in base64. See Templates & detection.

Roles: ADMIN · API

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

  • biometricMethodstringRequired

    Biometric method.

    • faceFace biometrics.
    • voiceVoice biometrics.
  • userIdstringRequired

    Identifier of the user.

Response200 · application/json

  • templatestring· base64Required

    Biometric template, in base64.

Status codes

  • 200Template.
  • 400Missing or invalid parameters.
  • 401Invalid or expired auth token. TOKEN_NOT_VALID.
  • 404Application or user not found. APPLICATION_NOT_FOUND, USER_NOT_FOUND.
  • 409The user is not enrolled in this biometric method. USER_NOT_ENROLLED_IN_BIOMETRIC_METHOD.
  • 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X GET 'https://{SERVER-URL}/api/v7/application/{applicationId}/user/{userId}/enrollment/{biometricMethod}/template' \
-H 'Authorization: Bearer <AUTH_TOKEN>'
Responses
200OKapplication/json
{
"template": "CgRGQUNFEhQyMDI2LTExLTA0VDEwOjE1OjMwWhoE…"
}
GET/application/{applicationId}/user/{userId}/tac/last/pdf Access token

Returns a digitally signed PDF with the evidence of the last terms and conditions the user accepted in a Gateway process.

Roles: ADMIN · API

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

  • userIdstringRequired

    Identifier of the user.

Status codes

  • 200Signed PDF.
  • 400Missing or invalid parameters.
  • 401Invalid or expired auth token. TOKEN_NOT_VALID.
  • 404Application, user or T&C consent not found. APPLICATION_NOT_FOUND, USER_NOT_FOUND, GATEWAY_TERMS_AND_CONDITIONS_CONSENT_NOT_FOUND.
curl -X GET 'https://{SERVER-URL}/api/v7/application/{applicationId}/user/{userId}/tac/last/pdf' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'Accept: application/pdf' \
-o user-consent-pdf.pdf
Responses
200OKapplication/pdf

Signed PDF.

Binary file · application/pdf

The user object​

A biometric user: their enrolments, one per biometric method, and the groups they belong to.

  • userIdstringRequired

    Identifier of the user.

  • enrollmentsobject[]Required

    Enrolments of the user, one per biometric method.

  • createdAtstring· date-timeRequired

    Creation date.

  • updatedAtstring· date-timeRequired

    Date of the last change.

  • groupsobject[]Optional

    Groups the user belongs to.