We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
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
This is an odd coincidence
@MGoudy asked a question about deep linking as well
Wonder if you two could help each other 😀
![]() | Make sure to subscribe to our YouTube channel where you can find the HubSpot Community Developer Show |
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
![]() | Make sure to subscribe to our YouTube channel where you can find the HubSpot Community Developer Show |