Skip to main content

Integration guide

In the usual Gateway integration, your backend creates the onboarding process and MobbScan Gateway Front guides the user through document and face capture. This guide builds on the Quick start.

Responsibilities​

Your systemMobbScan Gateway
User journeyOpen the returned onboardingUrl for the user (redirect or iframe) and handle the return to your sitePresent the configured flow, capture the document and face, handle capture retries
ProcessAuthenticate, create the process and store its scanIdRun capture, document checks and biometrics
DecisionIf configured for your own validation, accept, reject or send the process for manual reviewApply the configured rules and keep the process result
EvidenceRetrieve and retain the process information and evidence you needProvide the available images, recordings, PDF and, if enabled, certified ZIP

Set up​

ItemWhat to do
CredentialsRequest your API key and secret from Mobbeel; store them on your backend.
EnvironmentConfigure the GATEWAY-HOST for each environment. Ask Mobbeel to configure your tenant for Gateway Front so process creation returns onboardingUrl.
Status webhook (optional)Share an HTTPS endpoint on your backend with Mobbeel if you want status notifications. The notification URL and subscribed states are configured for your tenant.
Decision rules (if applicable)Agree with Mobbeel whether your backend should decide at PENDING_VALIDATION or a configured workflow will make the decision.

Process lifecycle​

scanId identifies the process; it is called verificationId in process queries, decisions and notifications. Once the user opens the onboardingUrl, the Gateway handles capture. The possible results returned by Check process result are PENDING, PENDING_VALIDATION, VERIFIED, NOT_VERIFIED and CANCELLED. These are the only public process results.

PENDINGIn progressPENDING_VALIDATIONAwaiting your decisionVERIFIEDAcceptedNOT_VERIFIEDRejectedCANCELLEDCancelled
PENDINGVerification has not reached a final result.MobbScan Gateway
FigureExample public results (verificationResult and configured webhooks). Manual review can return a process to PENDING. Hover over a result to see what it means.

An acceptance or rejection may be automatic, made by your backend, or made by a human reviewer. That distinction does not change the public VERIFIED or NOT_VERIFIED result. Not every process passes through PENDING_VALIDATION: it is relevant when your backend must make a decision; sending it to manual review returns it to a pending process state.

Decision​

When your integration is configured to validate a process in your backend, wait for PENDING_VALIDATION before deciding. You can also use the result endpoint to check the current state. This is not a required step for flows decided by configured rules or agents.

Notifications​

If you configure a status webhook, MobbScan sends a notification to your backend for the subscribed events. A webhook may send status: VIDEO_AVAILABLE when a recording is ready; this is not a process status and must not be used to decide the onboarding outcome. Other notifications are a signal to read the latest process result, not proof that the user has been accepted. The Gateway's browser redirect or iframe completion event is likewise distinct from the verification result. Without a webhook, use Check process result.

Evidence​

NeedEndpoint
Extracted document data, validations, scores and statusGet process information
ImagesGet images
Video recordingsGet recording
PDF reportGet PDF report
Certified evidence package (if enabled)Get certified ZIP

Good practices for Gateway integration​

  • Keep API credentials and access tokens on your backend; give the user the onboardingUrl, not your credentials.
  • Store the returned scanId to correlate your process with subsequent notifications, queries and evidence. You do not need to supply your own scanId to create an onboarding.
  • If status notifications are configured, use the webhook rather than continuous polling. Handle notifications idempotently and check the current result before acting: delivery can be retried and the notified states depend on your tenant configuration.
  • Treat the Gateway's return to your site separately from the verification result. Only act on the current process status; if your flow requires a backend decision, wait for PENDING_VALIDATION.