File Upload

Upload a file asset to the Trifft platform. Accepts either a file binary or a remote URL to fetch from. Returns a URL to the uploaded resource.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Direct File Upload

Utilize this variant of the endpoint when you have the file ready for upload. Send a POST request with the file included in the request body as form-data.

File Upload via URL

Opt for this variant when you wish to upload a file via a URL. Send a POST request with the URL specified in the request body as form-data, and the server will download the file from the provided URL before uploading it to the desired location.

Query Params
string
Body Params
file
string

URL of image/file to upload

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json