Files
Import File
Changed onImport a file asynchronously from a specified URL into the HubSpot file manager. This endpoint allows you to specify various parameters such as access level, duplicate validation strategy, and whether to overwrite existing files. The operation is processed asynchronously, and a task locator is returned to check the status of the import.
post/files/2026-09/files/import-from-url/async
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/files/2026-09/files/import-from-url/async
- AuthOAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: files.ui_hidden.write
Request body
Example request
{
"folderPath": "\"/destinationPath/folder\""
}Response
accepted
Changes
- info
api tag
Filesadded - info
api tag
Advancedremoved
- info
- info
the security scope
files.ui_hidden.writewas added to the endpoint's security schemeoauth2 - info
the security scope
files.writewas removed from the endpoint's security schemeoauth2
- info