Attachments & extra data
Attach your own files to a process and store additional business data with it.
Add attachment
/api/attachments/{verificationId} Onboarding tokenUploads one or more attachments to an onboarding process. Send its token in the onboarding-token header, and repeat the attachment multipart field for multiple files.
Limits: maximum file size 5 MB; allowed file types pdf, jpg, jpeg, png, docx, doc, txt; maximum 3 files per process; file names may only contain alphanumeric characters, underscores and hyphens (no spaces). Contact the platform support team for customized limits.
Attachments are identified by their name within the process. Uploading an attachment with an existing name replaces the previous file, whatever its file type.
Path parameters
verificationIduuidRequiredUnique identifier of the onboarding process.
Request bodymultipart/form-data
attachmentfileRequiredFile to attach to the onboarding process.
Response200 · application/json
codestringResult of the upload.
descriptionstringDescription of the result of the upload.
scanIduuidUnique identifier of the attachment scan.
fileNamestringName of the uploaded attachment.
Status codes
- 200The attachment has been uploaded.
- 400A required parameter is missing or has an invalid format, or the file exceeds the attachment limits.
- 401The onboarding token does not match this process, has expired or cannot be used for this upload.
- 403You do not have permission to perform this action.
- 404No onboarding process exists with that
verificationId.
curl -X POST 'https://{GATEWAY-HOST}/api/attachments/{verificationId}' \
-H 'onboarding-token: <ONBOARDING_TOKEN>' \
-F 'attachment=@file.pdf'
application/jsonThe attachment has been uploaded.
{
"code": "OK",
"description": "ATTACHMENT_UPLOADED_SUCCESSFULLY",
"scanId": "123e4567-e89b-12d3-a456-426614174000",
"fileName": "attachment_name"
}
List attachments
/api/attachments/{verificationId} Access tokenReturns the list of attachments of an onboarding process, with their details.
Path parameters
verificationIduuidRequiredUnique identifier of the onboarding process.
Response200 · application/json
attachmentsarray<object>Attachments of the onboarding process.
Status codes
- 200The list of attachments of the process.
- 400A required parameter is missing or has an invalid format.
- 401The access token is missing, invalid or expired, or you do not have access to this process.
- 403You do not have permission to perform this action.
- 404No onboarding process exists with that
verificationId.
curl -X GET 'https://{GATEWAY-HOST}/api/attachments/{verificationId}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
application/jsonThe list of attachments of the process.
{
"attachments": [
{
"fileName": "file1",
"url": "/api/attachments/d80a9694-3250-4a4c-9169-385fd95e06fb/file1",
"date": "2025-07-15 15:17:07"
}
]
}
Download attachment
/api/attachments/{verificationId}/{fileName} Access tokenDownloads the content of an attachment of an onboarding process.
Path parameters
verificationIduuidRequiredUnique identifier of the onboarding process.
fileNamestringRequiredName of the attachment to download.
Status codes
- 200The binary content of the requested attachment.
curl -X GET 'https://{GATEWAY-HOST}/api/attachments/{verificationId}/{fileName}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Accept: */*' \
-o download-attachment.bin
*/*The binary content of the requested attachment.
*/*Delete attachment
/api/attachments/{verificationId}/{fileName} Access tokenDeletes an attachment of an onboarding process.
A deleted attachment cannot be recovered.
Path parameters
verificationIduuidRequiredUnique identifier of the onboarding process.
fileNamestringRequiredName of the attachment to delete.
Status codes
- 204The attachment has been deleted. The response has no body.
- 400A required parameter is missing or has an invalid format.
- 401The access token is missing, invalid or expired, or you do not have access to this process.
- 403You do not have permission to perform this action.
- 404No onboarding process exists with that
verificationId, or it has no attachment with that name.
curl -X DELETE 'https://{GATEWAY-HOST}/api/attachments/{verificationId}/{fileName}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
The attachment has been deleted. The response has no body.
Add extra data
/mobbscan-agent/addExtraVerificationProcessData Access tokenRequests to store additional business data with an onboarding process as key–value pairs. Check the saved values with Get extra data.
Gateway can return HTTP 200 with code: OK even when the data was not saved. Verify persistence with Get extra data; the success response alone is not proof of storage.
Request bodyapplication/json
verificationIduuidRequiredUnique identifier of the onboarding process.
extraDataobjectRequiredKey–value pairs to add to the onboarding process.
Response200 · application/json
codestringGateway's reported result;
OKdoes not prove the data was saved.descriptionstringDescription of the result.
Status codes
- 200Gateway reports the request as processed; check the stored data with Get extra data.
- 400A required parameter is missing or has an invalid format.
- 401The access token is missing, invalid or expired, or you do not have access to this process.
- 403You do not have permission to perform this action.
- 404No onboarding process exists with that
verificationId.
curl -X POST 'https://{GATEWAY-HOST}/mobbscan-agent/addExtraVerificationProcessData' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"verificationId": "d80a9694-3250-4a4c-9169-385fd95e06fb",
"extraData": {
"key1": "value1",
"key2": "value2"
}
}'
application/jsonGateway reports the request as processed; check the stored data with Get extra data.
{
"code": "OK",
"description": "EXTRA DATA ADDED SUCCESSFULLY",
"scanId": null
}
Get extra data
/mobbscan-agent/getExtraVerificationProcessData/{verificationId} Access tokenReturns the extra data stored with an onboarding process.
Path parameters
verificationIduuidRequiredUnique identifier of the onboarding process.
Response200 · application/json
keystringKey of the extra data entry.
valuestringValue of the extra data entry.
verificationIduuidUnique identifier of the onboarding process.
Status codes
- 200A JSON array with one entry per key stored in the process.
- 400A required parameter is missing or has an invalid format.
- 401The access token is missing, invalid or expired, or you do not have access to this process.
- 403You do not have permission to perform this action.
- 404No onboarding process exists with that
verificationId.
curl -X GET 'https://{GATEWAY-HOST}/mobbscan-agent/getExtraVerificationProcessData/{verificationId}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
application/jsonA JSON array with one entry per key stored in the process.
[
{
"key": "key1",
"value": "value1",
"verificationId": "d80a9694-3250-4a4c-9169-385fd95e06fb"
},
{
"key": "key2",
"value": "value2",
"verificationId": "d80a9694-3250-4a4c-9169-385fd95e06fb"
}
]