Skip to main content
POST
Upload media

Authorizations

X-API-Key
string
header
required

Your workspace public key (pk_test_… or pk_live_…).

X-HMAC-Signature
string
header
required

HMAC-SHA256 of the request, hex-encoded, keyed with the workspace secret key. See API authentication.

Path Parameters

verification
string<uuid>
required

The verification ID

Body

multipart/form-data
file
file
required
type
enum<string>
required

What the file is: the person's selfie, or one side of their document.

Available options:
selfie,
document
side
enum<string>

Which side of the document. Required when type is document.

Available options:
front,
back
document
enum<string>

The kind of document. Required when type is document.

Available options:
id,
driver_license,
passport,
residence_permit

Response

The media was stored. The body is empty.

The response is of type string.

Example:

""