Skip to main content
POST
/
api
/
external
/
customer
/
{id}
/
files
Upload files for a customer
curl --request POST \
  --url https://api-prod.blaaiz.com/api/external/customer/{id}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id_file": "file_123456",
  "id_file_back": "file_234567",
  "proof_of_address_file": "file_789012",
  "liveness_check_file": "file_345678"
}
'
{
  "message": "Customer files uploaded successfully"
}

Authorizations

Authorization
string
header
required

Use your OAuth client credentials to obtain a short-lived Bearer token from POST /oauth/token.

Path Parameters

id
string
required

Customer ID

Body

application/json
id_file
string

file_id for the identity document (from File API presigned upload). The identity document must be a Driver's License, Passport, or Resident Permit for individual customers, or a Certificate of Incorporation for business customers. ID cards (National Identity Cards) are not accepted. The document image must be clear and legible — unclear or illegible images will be rejected. IMPORTANT: Including id_file in the request signals that document upload is complete and triggers the verification process. Other files (id_file_back, proof_of_address_file, liveness_check_file) can be uploaded before or alongside id_file, but verification will only begin once id_file is included in the request.

id_file_back
string

file_id for the back side of the identity document (from File API presigned upload). Use this when the identity document is two-sided (e.g. driver's license). Not required for single-sided documents (e.g. passport, certificate of incorporation).

proof_of_address_file
string

file_id for proof of address.

liveness_check_file
string

file_id for liveness check.

Response

Files uploaded successfully

message
string
required