Skip to main content

API reference

The MobbID API is a REST API to manage biometric users and run face and voice operations — enrolment, verification, identification and matching — from your backend, and to create Gateway processes. New to the API? Start with the Quick start and the Integration guide.

Endpoints​

Base URL​

All paths are relative to the base URL of your environment, provided by Mobbeel:

https://{SERVER-URL}/api/v7

All paths are relative to the base URL of your environment (Mobbeel provides the {SERVER-URL}). Biometric samples are sent as multipart/form-data: JPEG or PNG images and MP4 video for face, OGG, MP3 or WAV audio for voice. Templates and every other body are JSON.

Authentication​

Every request needs an auth token: request it with your application ID and API key, and send it as Authorization: Bearer <AUTH_TOKEN>. Tokens last 30 minutes by default; ask Mobbeel to change it. Use an API role key from your backend and an SDK role key for the tokens you hand to the SDKs.

GET/authorization No authentication

Exchanges your application ID and API key for an auth token (JWT). Send it as Authorization: Bearer <AUTH_TOKEN> in every other request. Tokens last 30 minutes by default.

Mobbeel provides two kinds of API key:

  • API role — for server-to-server calls from your backend. This is the key you use with this API.
  • SDK role — for the tokens your backend hands to the mobile and web SDKs. They only allow biometric operations.

Keep the API key on the server. Never ship it in an app or a web page: request tokens from your backend.

Headers

  • applicationIdstring· uuidRequired

    Your application ID.

  • apiKeystring· uuidRequired

    Your API key.

Response200 · application/json

  • authTokenstringRequired

    JWT to send as Authorization: Bearer <AUTH_TOKEN> in the following requests.

Status codes

  • 200Token issued.
  • 400Missing or invalid parameters.
  • 401Invalid or expired licence. LICENSE_NOT_VALID.
  • 403Invalid API key. API_KEY_NOT_VALID.
  • 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X GET 'https://{SERVER-URL}/api/v7/authorization' \
-H 'applicationId: <applicationId>' \
-H 'apiKey: <apiKey>'
Responses
200OKapplication/json
{
"authToken": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ…"
}

Status codes​

  • 200OK

    The request succeeded.

  • 201Created

    A user, group, enrolment or Gateway process was created.

  • 202Accepted

    The operation needs more samples. Send them with the same operationId; progress shows how far it has got.

  • 204No Content

    Deletion or update done; no body.

  • 400Bad Request

    Missing or invalid parameters, or the sample cannot be used. message gives the error code.

    Fix the request, or ask the user for a new capture.

  • 401Unauthorized

    The auth token is missing, invalid or expired, or the licence is not valid.

    Request a new token.

  • 403Forbidden

    Invalid API key, or the biometric method is not enabled for your application.

    Check your credentials, or contact Mobbeel to enable the method.

  • 404Not Found

    The application, user, group, operation or process does not exist.

    Check the identifiers.

  • 409Conflict

    The request conflicts with the current state: operation not started, user not enrolled, user or group already exists…

    Read message and fix the flow.

  • 422Unprocessable Entity

    The Gateway process cannot be created with this method or operation.

    Contact Mobbeel to enable it.

  • 429Too Many Requests

    The caller's IP is temporarily or permanently blocked for security.

    Wait before retrying, or contact Mobbeel.

Error codes​

Error responses carry an error code in message and, for quality errors, the failed checks in detail:

{
"timestamp": "2026-11-04T10:15:30Z",
"status": 400,
"error": "Bad Request",
"message": "BAD_SAMPLE_QUALITY",
"detail": ["IMAGE_TOO_DARK"],
"path": "/api/v7/verification/face",
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c"
}
  • TOKEN_NOT_VALID401The auth token is invalid or has expired. Request a new one.
  • LICENSE_NOT_VALID401The licence of the application is invalid or has expired.
  • API_KEY_NOT_VALID403The API key is invalid.
  • BIOMETRIC_METHOD_NOT_ENABLED403The biometric method is not enabled for the application. Contact Mobbeel.
  • BAD_SAMPLE_FORMAT400Unsupported file format. Face: JPEG, PNG or MP4. Voice: OGG, MP3 or WAV.
  • BAD_SAMPLE_QUALITY400The sample does not meet the quality requirements. detail lists the checks that failed: IMAGE_TOO_DARK, IMAGE_TOO_BRIGHT, NO_FRONTAL_FACE, SMALL_FACE_AREA, BACKLIGHTING_DETECTED, SUNGLASSES, UNIFIED_QUALITY_SCORE.
  • NO_SAMPLE_DETECTED400No face, or not enough speech, was found in the sample.
  • NOT_ENOUGH_SAMPLE_DATA_DETECTED400The video does not contain enough frames with a face.
  • MULTIPLE_SAMPLES_DETECTED400More than one face in the sample. Send a single face.
  • NO_LIVENESS_DETECTED400Liveness failed: the sample could not be confirmed as coming from a live person.
  • ATTACK_SUSPECTED400The matching score is unusually high: the two samples or templates may be identical copies.
  • BAD_TEMPLATE_FORMAT400The template is invalid.
  • TEMPLATE_VERSIONS_DO_NOT_MATCH400The template version does not match the one configured for the application.
  • APPLICATION_NOT_FOUND404The application does not exist or is not accessible.
  • USER_NOT_FOUND404The user does not exist or has been deleted.
  • GROUP_NOT_FOUND404The group does not exist or has been deleted.
  • OPERATION_NOT_FOUND404The operation does not exist.
  • GATEWAY_PROCESS_NOT_FOUND404The Gateway process does not exist.
  • GATEWAY_TERMS_AND_CONDITIONS_CONSENT_NOT_FOUND404No terms and conditions consent was accepted in this process.
  • PROCESS_NOT_STARTED409The operation was not started. Call the matching /start endpoint first.
  • OPERATION_ALREADY_EXISTS409The operationId you sent was already used.
  • USER_ALREADY_EXISTS409A user with this userId already exists.
  • USER_NOT_ENROLLED_IN_BIOMETRIC_METHOD409The user has no enrolment for this biometric method.
  • USER_NOT_IN_GROUP409The user is not a member of the group.
  • USER_CAN_NOT_BE_ADDED_TO_GROUP409The user is already in the group, or cannot be added to it.
  • GROUP_ALREADY_EXISTS409A group with this identifier already exists.
  • DEFAULT_GROUP_CAN_NOT_BE_DELETED409The DEFAULT group cannot be deleted.
  • GATEWAY_BIOMETRIC_METHOD_NOT_AVAILABLE422The biometric method is not enabled for the Gateway. Contact Mobbeel.
  • GATEWAY_BIOMETRIC_OPERATION_NOT_AVAILABLE422The operation is not available in the Gateway.