You can upload files and use them elsewhere in this API, for example as the url property when creating a document. This saves you the trouble of hosting the file yourself.

Attribute

id
string

The unique identifier of the file.

expires_at
string

Time at which the file will expire.