Skip to main content
POST
Upload asset
Send a file as multipart field file, within the 5 MB request limit. The multipart envelope also uses request space, so keep the file below the limit. Save the returned asset identifier for later retrieval. The endpoint stores the submitted bytes; it does not independently establish that uploaded evidence is authentic. See Retrieve asset for access to a stored file.

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Body

multipart/form-data
file
file
required

File to upload (max 5 MB)

purpose
string

Asset purpose tag

Response

Asset uploaded

id
string
url
string
content_type
string
size
integer
purpose
string
created_at
string