Skip to main content

Evidence

Read the extracted document fields and validations, and download the available images, recordings, PDF report and certified evidence package.

Get images​

GET/mobbscan-agent/{verificationId}/image/{imageType} Access token

Downloads an image generated during the onboarding process. The URLs of the available images are in the images field of Get process information.

Choose the Gateway response format with Accept: application/json (base64 image in JSON), text/plain (base64 string) or image/jpeg (binary file). Gateway can respond with HTTP 200 even when those bytes are not a valid image; validate the decoded content before storing it.

Path parameters

  • verificationIdstring· UUIDRequired

    Identifier of the onboarding process.

  • imageTypestringRequired

    Type of image to download. Take it from the image URLs listed in the images field of Get process information.

Status codes

  • 200With Accept: application/json: JSON with the image data.
  • 200With Accept: text/plain: the image as a base64-encoded string.
  • 200With Accept: image/jpeg: the image as a binary file.
curl -X GET 'https://{GATEWAY-HOST}/mobbscan-agent/{verificationId}/image/{imageType}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
Responses
200OKapplication/json

With Accept: application/json: JSON with the image data.

{
"timestamp": "2021-09-01T12:00:00Z",
"imageType": "",
"scanId": "123e4567-e89b-12d3-a456-426614174000",
"image": "/9j/4AAQSkZJRgABAQEAYABgAAD/4QA6RXhpZgAATU0AKgAAAAgAA1EQAAEAAAABAQAAAFERAAQAAAABAAABAgABAA..."
}

Get recording​

GET/mobbscan-agent/{verificationId}/recording/{recordingType} Access token

Downloads a recording generated during the onboarding process. The URLs of the available recordings are in the recordings field of Get process information.

Choose the Gateway response format with Accept: application/json (JSON with a video field), text/plain (base64) or video/webm (binary). Gateway can respond with HTTP 200 even when those bytes are not a valid video; validate the recording before storing it.

Path parameters

  • verificationIdstring· UUIDRequired

    Identifier of the onboarding process.

  • recordingTypestringRequired

    Type of recording to download. Take it from the recording URLs listed in the recordings field of Get process information.

Status codes

  • 200With Accept: application/json: JSON with the recording data.
  • 200With Accept: text/plain: the recording as a base64-encoded string.
  • 200With Accept: video/webm: the recording as a binary file.
curl -X GET 'https://{GATEWAY-HOST}/mobbscan-agent/{verificationId}/recording/{recordingType}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
Responses
200OKapplication/json

With Accept: application/json: JSON with the recording data.

{
"timestamp": "2026-11-01T12:00:00Z",
"recordingType": "video_liveness",
"scanId": "d80a9694-3250-4a4c-9169-385fd95e06fb",
"video": "BASE64_ENCODED_VIDEO"
}

Get PDF report​

GET/mobbscan-agent/api/pdf/{verificationId} Access token

Downloads the PDF report generated during the onboarding process. Its URL is in the pdfUrl field of Get process information.

Choose the response format with the Accept header: application/json (JSON with the PDF data), text/plain (base64 string) or the binary file.

Path parameters

  • verificationIdstring· UUIDRequired

    Identifier of the onboarding process.

Status codes

  • 200With Accept: application/json: JSON with the PDF data.
  • 200With Accept: text/plain: the PDF as a base64-encoded string.
  • 200Binary download of the PDF file.
  • 404Gateway returns HTTP 404 with its JSON error if the PDF or process is not available.
curl -X GET 'https://{GATEWAY-HOST}/mobbscan-agent/api/pdf/{verificationId}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
Responses
200OKapplication/json

With Accept: application/json: JSON with the PDF data.

{
"timestamp": "2021-09-01T12:00:00Z",
"scanId": "123e4567-e89b-12d3-a456-426614174000",
"pdfDocument": "JVBERi0xLjQK..."
}

Get certified ZIP​

GET/mobbscan-agent/api/zip/{verificationId} Access token

Downloads the certified ZIP of the onboarding process: the data extracted from the document, the images and the recordings, all signed to guarantee their integrity. Its URL is in the certificatedZipUrl field of Get process information.

The ZIP is only available when the onboarding process has finished successfully.

To get the certified ZIP generated, ask Mobbeel's support team to enable this feature.

Path parameters

  • verificationIdstring· UUIDRequired

    Identifier of the onboarding process.

Status codes

  • 200The certified ZIP file with the information of the onboarding process.
  • 404Gateway returns HTTP 404 with its JSON error if the ZIP or process is not available.
curl -X GET 'https://{GATEWAY-HOST}/mobbscan-agent/api/zip/{verificationId}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Accept: application/zip' \
-o certified-zip.zip
Responses
200OKapplication/zip

The certified ZIP file with the information of the onboarding process.

Binary file · application/zip

The document object​

Data extracted from the document and the result of every document validation, grouped by purpose. Every validation* field returns VALID, NOT_VALID or NOT_CHECKED. *Score fields return a score: a number, except validationBothSidesMatchScore, validationNameBothSidesMatchScore and validationSurnameBothSidesMatchScore, which are returned as strings (for example "100").

Holder data17

  • namestring

    Name of the document holder.

  • surnamestring

    Full surname of the document holder.

  • firstSurnamestring

    First surname of the document holder.

  • secondSurnamestring

    Second surname of the document holder.

  • genderstring

    Gender of the document holder.

    Values: MF
  • dateOfBirthstring

    Date of birth of the document holder.

  • nationalitystring

    Nationality of the document holder.

  • personalNumberstring

    Personal number of the document holder.

  • parentsstring

    Parents of the document holder.

  • addressstring

    Address of the document holder.

  • citystring

    City of the document holder.

  • regionstring

    Region of the document holder.

  • cityOfBirthstring

    City of birth of the document holder.

  • regionOfBirthstring

    Region of birth of the document holder.

  • stateOfBirthNamestring

    Name of the state of birth.

  • stateOfBirthIsoCodestring

    ISO code of the state of birth.

  • countryOfBirthstring

    Country of birth of the document holder.

Document data9

  • documentTypestring

    Specific type of the document.

  • documentNumberstring

    Document number.

  • issuingStatestring

    Issuing state of the document.

  • dateOfIssuingstring

    Date of issue of the document.

  • dateOfExpirystring

    Date of expiry of the document.

  • mrzstring

    Machine-readable zone (MRZ) of the document.

  • laserMarkstring

    Laser mark of the document. null if the document has no laser mark.

  • mrzDataobject

    Data read from the MRZ. See MRZ and VIZ data.

  • vizDataobject

    Data read from the printed visual zone (VIZ). See MRZ and VIZ data.

Content validations38

  • validationBothSidesMatchstring

    Whether the data on both sides of the document match.

  • validationBothSidesMatchScorestring

    Score of the both-sides match validation.

  • validationMRZstring

    Validation of the MRZ.

  • validationMRZCheckDocumentNumberstring

    Check of the document number in the MRZ.

  • validationMRZCheckPersonalNumberstring

    Check of the personal number in the MRZ.

  • validationMRZCheckDateOfBirthstring

    Check of the date of birth in the MRZ.

  • validationMRZCheckDateOfExpirystring

    Check of the date of expiry in the MRZ.

  • validationMRZCheckCompositestring

    Composite check of the MRZ.

  • validationDocumentNumberstring

    Validation of the document number.

  • validationPersonalNumberstring

    Validation of the personal number.

  • validationMRZNameSurnameSeparatorstring

    Validation of the separator between name and surname in the MRZ.

  • validationMRZSurnameSeparatorstring

    Validation of the separator between surnames in the MRZ.

  • validationSexstring

    Validation of the holder's sex.

  • validationGenderstring

    Validation of the holder's gender.

  • validationNationalitystring

    Validation of the nationality.

  • validationDateOfBirthstring

    Validation of the holder's date of birth.

  • validationDateOfExpirystring

    Validation of the document's date of expiry.

  • validationDocumentNotExpiredstring

    Whether the document is not expired.

  • validationLegalAgestring

    Whether the holder is of legal age.

  • validationAllowedIssuingStatestring

    Whether the issuing state is allowed.

  • validationIssuingStatestring

    Validation of the issuing state.

  • validationDateOfIssuingstring

    Validation of the date of issue.

  • validationDatesRelationshipstring

    Whether the dates of the document are consistent with each other.

  • validationNameBothSidesMatchstring

    Whether the name matches on both sides of the document.

  • validationSurnameBothSidesMatchstring

    Whether the surname matches on both sides of the document.

  • validationPersonalNumberBothSidesMatchstring

    Whether the personal number matches on both sides of the document.

  • validationDocumentNumberBothSidesMatchstring

    Whether the document number matches on both sides of the document.

  • validationDateOfBirthBothSidesMatchstring

    Whether the date of birth matches on both sides of the document.

  • validationDateOfExpiryBothSidesMatchstring

    Whether the date of expiry matches on both sides of the document.

  • validationSexBothSidesMatchstring

    Whether the sex matches on both sides of the document.

  • validationGenderBothSidesMatchstring

    Whether the gender matches on both sides of the document.

  • validationNationalityBothSidesMatchstring

    Whether the nationality matches on both sides of the document.

  • validationPersonalNumberFormatstring

    Validation of the personal number format.

  • validationDocumentNumberFormatstring

    Validation of the document number format.

  • validationNameNotEmptystring

    Whether the name is not empty.

  • validationSurnameNotEmptystring

    Whether the surname is not empty.

  • validationNameBothSidesMatchScorestring

    Score of the name match between both sides.

  • validationSurnameBothSidesMatchScorestring

    Score of the surname match between both sides, from 0 to 100.

Appearance validations12

  • validationFrontAppearancestring

    Validation of the appearance of the front side.

  • validationFrontAppearanceScorenumber

    Score of the front appearance validation.

  • validationBackAppearancestring

    Validation of the appearance of the back side.

  • validationBackAppearanceScorenumber

    Score of the back appearance validation.

  • validationFrontNotPhotocopystring

    Whether the front side is not a photocopy.

  • validationFrontPhotocopyScorenumber

    Photocopy score of the front side. 0 if the document is not a photocopy.

  • validationBackNotPhotocopystring

    Whether the back side is not a photocopy.

  • validationBackPhotocopyScorenumber

    Photocopy score of the back side. 0 if the document is not a photocopy.

  • validationDocumentForensicsstring

    Result of the forensic analysis of the document.

  • validationNotSpecimenstring

    Whether the document is not a specimen.

  • validationLaserMarkstring

    Validation of the laser mark of the document.

  • validationFaceLaserMarkScorenumber

    Score of the face laser mark validation. -1 if there is no face laser mark.

Biometrics3

  • validationFacialMatchingScorenumber

    Facial matching score. -1 if facial matching was not performed.

  • facialMatchingScorestring

    Facial matching score.

  • facialLivenessScorestring

    Facial liveness score.

Overall result2

  • validationDocumentstring

    Overall validation result of the document.

  • validationDocumentContentstring

    Overall validation result of the document content.

MRZ and VIZ data​

mrzData and vizData contain the same fields, read respectively from the machine-readable zone and from the printed visual zone. Comparing them is the basis of the VIZ–MRZ coherence checks.

  • dateOfExpirystring

    Date of expiry of the document.

  • genderstring

    Gender of the document holder.

    Values: MF
  • nationalitystring

    Nationality of the document holder.

  • surnamestring

    Full surname of the document holder.

  • documentNumberstring

    Document number.

  • namestring

    Name of the document holder.

  • dateOfBirthstring

    Date of birth of the document holder.

  • personalNumberstring

    Personal number of the document holder.

Validation matrix result​

Mobbeel can configure a validation matrix for your use case. When enabled, scanProcessValidationResult indicates whether the document passed and scanProcessFailedValidations lists failed checks. Retrieve the process data and validations with Get process information; the available fields depend on the configured flow.

  • enabledProcessboolean

    Whether the validation matrix is enabled for the scan process. If it is, check scanProcessValidationResult to get the result.

  • scanProcessValidationResultstring

    Result of the validation matrix for the scan process.

    Values: VALIDNOT_VALIDNOT_CHECKED
  • scanProcessFailedValidationsarray<string>

    Names of the validations that failed. Contains the failed validations when the result is NOT_VALID; empty when it is VALID.