Files - HubSpot Data Target Requirement
DataBlend supports the standard API calls to Create Files within HubSpot leveraging the HubSpot SDK. In addition, custom fields can be added for data that is unique to your business practices.
DataBlend Query Object (SDK) |
HubSpot Object (API) |
Required |
Notes |
---|---|---|---|
123 | file | Yes | The multi-part form encoded file to upload. |
PUBLIC_INDEXABLE | access | Yes | PUBLIC_INDEXABLE The file will be publicly accessible by anyone who has the file url. Search engines will be able to index the file. PUBLIC_NOT_INDEXABLE The file will be publicly accessible by anyone who has the file url. The X-Robots-Tag: noindex header will be sent whenever the file is retreived, instructing search engines not to index the file.PRIVATE The file will be private and requires a signed url to access. Search engines will NOT be able to index the file. |
Fancy File | fileName | No | |
/docs | folderPath | Yes | Partially optional field. One of folderPath or folderId must be specified. Path of the folder the file should be uploaded into. Uploading files into the root path “/” is highly discouraged. |
folderId | Yes | Partially optional field. One of folderId or folderPath must be specified. Id of the folder the file should be uploaded into. | |
charsetHunch | No |
More questions about API requirements? Please visit the HubSpot API site https://legacydocs.hubspot.com/docs/methods/files/v3/upload_new_file.