Skip to main content

Gateway

Create the Gateway processes your users open in their browser, and read their result.

Create a Gateway process​

POST/application/{applicationId}/gateway/process Access token

Creates a Gateway process and returns the gatewayUrl to open in the user's browser, by redirect or in an iframe. Keep the processId to read the result.

Roles: API

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

Request bodyapplication/json

  • biometricMethodobjectRequired

    Biometric method of the process. Currently FACE.

  • operationobjectRequired

    Operation the user performs in the Gateway.

  • returnUrlstringOptional

    URL the user is sent back to when the process ends.

  • userIdstringOptional

    User who performs the process. Required for ENROLLMENT and VERIFICATION.

  • groupIdstringOptional

    Group to search in. Only for IDENTIFICATION.

  • samplesstring[]Optional

    Face images (JPEG, PNG) or a short video (MP4). Repeat the field to send several.

Response201 · application/json

  • gatewayUrlstringRequired

    URL to open in the user's browser, by redirect or in an iframe.

  • processIdstringRequired

    Identifier of the Gateway process.

Status codes

  • 201Process created.
  • 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, or is not in the group. USER_NOT_ENROLLED_IN_BIOMETRIC_METHOD, USER_NOT_IN_GROUP.
  • 422The biometric method or operation is not enabled for the Gateway. GATEWAY_BIOMETRIC_METHOD_NOT_AVAILABLE, GATEWAY_BIOMETRIC_OPERATION_NOT_AVAILABLE.
  • 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X POST 'https://{SERVER-URL}/api/v7/application/{applicationId}/gateway/process' \
-H 'Authorization: Bearer <AUTH_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"biometricMethod": "FACE",
"operation": "VERIFICATION",
"userId": "user-0001",
"returnUrl": "https://your-app.example.com/login/callback"
}'
Responses
201Createdapplication/json
{
"gatewayUrl": "https://gateway.mobbid.mobbeel.com/ui/?processId=8d1e2f3a-4b5c-4d6e-8f70-91a2b3c4d5e6",
"processId": "8d1e2f3a-4b5c-4d6e-8f70-91a2b3c4d5e6"
}

Get a Gateway process​

GET/application/{applicationId}/gateway/process/{processId} Access token

Returns the status of a Gateway process and, once COMPLETED, the operation with its result.

Roles: ADMIN · API

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

  • processIdstring· uuidRequired

    Identifier of the Gateway process.

Response200 · application/json

  • idstringRequired

    Identifier of the Gateway process.

  • statusstringRequired
    • CREATEDCreated; the user has not opened it yet.
    • STARTEDThe user has opened the process.
    • QRWaiting for the user to continue on their phone, after scanning the QR code.
    • IN_PROGRESSThe user is performing the capture.
    • PROCESSINGThe captured data is being processed.
    • COMPLETEDFinished. Read the result in operation.
  • operationIdstringRequired

    Identifier of the operation of the process. Deprecated: read operation instead.

  • operationobjectOptional

    Operation performed in the process, with its result. See the operation object.

Status codes

  • 200Process.
  • 400Missing or invalid parameters.
  • 401Invalid or expired auth token. TOKEN_NOT_VALID.
  • 404Application or Gateway process not found. APPLICATION_NOT_FOUND, GATEWAY_PROCESS_NOT_FOUND.
  • 429Too many requests: the caller's IP is temporarily or permanently blocked.
curl -X GET 'https://{SERVER-URL}/api/v7/application/{applicationId}/gateway/process/{processId}' \
-H 'Authorization: Bearer <AUTH_TOKEN>'
Responses
200OKapplication/json
{
"id": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"status": "COMPLETED",
"operationId": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"operation": {
"id": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"clientId": "c0ffee00-1234-4abc-9def-001122334455",
"applicationId": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"transactionId": "tx-20261104-0001",
"biometricMethod": "FACE",
"type": "VERIFICATION",
"status": "SUCCESS",
"data": {
"result": true,
"userId": "user-0001",
"liveness": "FACE_PASSIVE_IMAGE",
"scores": [
{
"score": 0.93,
"scoreType": "IDENTITY_VERIFICATION"
}
],
"groupIds": [
"DEFAULT"
],
"livenessThreshold": 0.5,
"matchingThreshold": 0.63,
"qaControls": {
"controls": {
"SAMPLE_SOURCE": [
"TOO_DARK",
"NO_FRONTAL",
"FACE_SMALL_AREA",
"SUNGLASSES"
]
},
"errors": []
}
},
"resources": [
{
"id": "3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c",
"type": "SELFIE",
"url": "https://{SERVER-URL}/api/v7/application/a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d/operation/3f2b9c1e-7a4d-4e8b-9c21-5d6e7f8a9b0c/resource/selfie"
}
],
"createdAt": "2026-11-04T10:15:30Z",
"finishedAt": "2026-11-04T10:15:33Z",
"ip": "203.0.113.24",
"geo": {
"cityName": "Madrid",
"continentCode": "EU",
"countryIsoCode": "ES",
"countryName": "Spain",
"postalCode": "28001",
"regionIsoCode": "ES-M",
"regionName": "Madrid",
"location": {
"lat": 40.4168,
"lon": -3.7038
},
"timezone": "Europe/Madrid"
},
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_1 like Mac OS X)",
"clientVersion": "mobbid-sdk-ios/7.2.1"
}
}
GET/application/{applicationId}/gateway/process/{processId}/tac/pdf Access token

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

Roles: ADMIN · API

Path parameters

  • applicationIdstring· uuidRequired

    Your application ID.

  • processIdstring· uuidRequired

    Identifier of the Gateway process.

Status codes

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

Signed PDF.

Binary file · application/pdf