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, hex-encoded, keyed with a workspace secret key, of "{X-Timestamp}." followed by the canonical request (or of the canonical request alone, accepted for workspaces that do not require X-Timestamp). See API authentication.

X-Timestamp
string
header
required

Current Unix time in seconds, signed as "{X-Timestamp}." + the canonical request. Recommended on every signed request and required when the workspace requires it; accepted within 300 seconds of the server clock, and a timestamped request other than GET is accepted once.

Path Parameters

verification
string<uuid>
required

The verification ID

Body

multipart/form-data
file
file
required

Maximum file size: 10240 kilobytes.

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:

""