Skip to main content
POST
/
api
/
external
/
customer
/
{customer}
/
owner
/
{owner}
/
file
/
presigned-url
Get an owner ID-file upload URL
curl --request POST \
  --url https://api-prod.blaaiz.com/api/external/customer/{customer}/owner/{owner}/file/presigned-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file_category": "id_document_front"
}
'
{
  "message": "Upload URL generated successfully",
  "data": {
    "file_id": "f6c04a3e-3cdb-4b07-87e5-7a7c0d8b1c10",
    "url": "https://s3.amazonaws.com/...?X-Amz-Signature=...",
    "headers": {
      "x-amz-acl": "private"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.business.blaaiz.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

customer
string<uuid>
required
owner
string<uuid>
required

Body

application/json
file_category
enum<string>
required

Slot the upload will populate. Use id_document_front for the front of any ID, id_document_back for the back of two-sided IDs (e.g. driver's license).

Available options:
id_document_front,
id_document_back

Response

Presigned URL ready.