Image
PUT/Image
This API allows you to add or update (overwrite) four types of images (ID front, ID back, selfie, address) for an existing submission.
Notes
- Allowed image formats: jpg, jpeg, png.
- All images must be submitted as Base64 encoded strings.
- The
idType
parameter is required when submittingidImage
oridBackImage
. - At least one image must be submitted.
1. Endpoint
PUT/Image
2. Authentication
Include the API key in the x-api-key header:
x-api-key
3. Request Parameters
Unique ID of the submission
Project administrator’s account (must be registered in the dashboard)
Type of ID (required when submitting idImage or idBackImage)
Front side of the ID image (Base64 format)
Back side of the ID image (Base64 format)
Selfie image (Base64 format)
Address document image (Base64 format)
4. Request Example
PUT/Image
5. Response
5-1. Success Response
result.json
5-2. Error Response
result.json
5.4 Error Codes
Error Code | Message | Description |
---|---|---|
invalid_payload | Fail to parse the input data. | The format of the input data is invalid. |
missing_data | Required input data is missing. | Some required fields are missing. |
invalid_project | Cannot find project info. | The project ID does not exist. |
invalid_project | Invalid project. | The project status is invalid. |
invalid_admin | Invalid admin. | The administrator is invalid. |
invalid_submission | Invalid submission. | The submission ID is invalid. |
invalid_data | At least one image parameter is required. | No image was submitted. |
missing_data | The idType is required when submit idImage or idBackImage. | The idType is missing for ID image submission. |
invalid_idType | Invalid IdType. | The idType provided is invalid. |
processing_error | Failed to put image. | An unknown error occurred during data processing. |
This API allows you to add new images or update existing ones for a submission. Refer to the error codes if an issue occurs to resolve it effectively.
Was this page helpful?