Aug 24, 2021 11:54 AM
Hi,
I am building an integration the will upload files to the File Manager in HubSpot using the Files API. We are using the enpoint:
POST /files/v3/files/import-from-url/async
The result when the upload has finished is a JSON similar to:
{
"status": "PENDING",
"result": {
"id": "string",
...
"parentFolderId": "string",
"name": "string",
"path": "string",
...
"defaultHostingUrl": "string",
"url": "string",
...
},
...
}
Is there a safe way of deep linking to that file in the File Manager (UI). For example:
https://app-eu1.hubspot.com/files/[accountId]/?folderId=[folderId]&showDetails=[fileId]
I am not sure if this is safe and even doable since the link contains the region (i suppose) of the HubSpot account (eu1 in this case) and since the URL is not documented maybe it will change.
So my questions:
Aug 25, 2021 9:47 AM
Aug 25, 2021 10:01 AM
Hi,
I saw that question, but I believe our cases are different. He wants a link to his own app while I want a link to the User Interface of the HubSpot File Manager showing a specific folder and details of a specific file (the one the user uploaded through my integration). In my case it is to improve the UX when uploading a file from our app to HubSpot (the user needs to understand where the file can be found in HubSpot).
Thanks
Aug 25, 2021 10:09 AM