Skip to main content
Notes
  • Allowed image formats: jpg, jpeg, png.
  • All images must be submitted as Base64 encoded strings.
  • The idType parameter is required when submitting idImage or idBackImage.
  • At least one image must be submitted.

1. Endpoint

PUT/Image

2. Authentication and headers

This API requires the request body to be sent as multipart/form-data.
When using curl’s --form option or Python requests library’s files parameter, the Content-Type: multipart/form-data header and boundary value are set automatically. Setting the header manually may omit the boundary value and cause the request to fail.

3. Request parameters

All parameters are sent as multipart/form-data fields.
string
required
Unique ID of the submission
string
required
Project administrator’s account (must be registered in the dashboard)
string
Type of ID document. Required when submitting idImage or idBackImage.
string
Front side of the ID document, Base64 encoded
string
Back side of the ID document, Base64 encoded
string
Selfie image, Base64 encoded
string
Address document image, Base64 encoded

4. Request example

When using the Python requests library’s files parameter, pass text fields as (None, "value") tuples. The first element None indicates no filename, which correctly sends text data as multipart/form-data fields.

5. Response

5-1. Success response

result.json

5-2. Response data

5-3. Error response

result.json

5-4. Error codes