Upload file
Upload a single file with content specified in request body.
Response
successful operation
File access. Can be PUBLIC_INDEXABLE, PUBLIC_NOT_INDEXABLE, PRIVATE.
If the file is deleted.
Deletion time of the file object.
Creation time of the file object.
Default hosting URL of the file. This will use one of HubSpot's provided URLs to serve the file.
Encoding of the file.
Extension of the file. ex: .jpg, .png, .gif, .pdf, etc.
The MD5 hash of the file.
For image and video files, the height of the content.
File ID.
Previously "archied". Indicates if the file should be used when creating new content like web pages.
Name of the file.
ID of the folder the file is in.
Path of the file in the file manager.
Size of the file in bytes.
Type of the file. Can be IMG, DOCUMENT, AUDIO, MOVIE, or OTHER.
Timestamp of the latest update to the file.
URL of the given file. This URL can change depending on the domain settings of the account. Will use the select file hosting domain.
For image and video files, the width of the content.