Skip to main content
POST
Create signed upload URL for KYC document bytes

Authorizations

x-tenant-api-key
string
header
required

Tenant API key for authentication. Keys are scoped to specific environments (LIVE or SANDBOX). Obtain keys from the admin dashboard.

Path Parameters

userId
string<uuid>
required

Body

application/json
documentType
enum<string>
required
Available options:
government_id_front,
government_id_back,
passport,
proof_of_address,
selfie
fileName
string
required
mimeType
string
required

MIME type of the file being uploaded. Allowed values are image/jpeg, image/png, and application/pdf.

Response

Signed upload URL created

uploadUrl
string<uri>
required
filePath
string
required
expiresInSeconds
integer
required