Create file

Creates a file either by uploading (multipart/form-data) a binary file or providing a URL to download the file.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
file | null
required

The binary file to upload. Required if "url" is not provided. Cannot be provided with "url."

string | null
required

The URL from which the file can be downloaded. Required if "file" is not provided. Cannot be provided with "file."

string | null
Defaults to null

Optional file name for the file (e.g., "document.pdf"). If not provided, it will be derived from the uploaded file.

string | null
Defaults to null

Optional description for the file.

date-time | null
Defaults to null

Optional original creation date of the file content, in UTC ISO 8601 format. When provided, it takes precedence over the creation date the system would otherwise extract from the file's embedded EXIF metadata.

Responses

400

Bad Request

401

Unauthorized

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