<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Deep link to a file in the File Manager in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Deep-link-to-a-file-in-the-File-Manager/m-p/484222#M46209</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am building an integration the will upload files to the File Manager in HubSpot using the Files API. We are using the enpoint:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;POST&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN class="PathUrl__StyledPath-sc-10tqimu-3 gRmkdQ"&gt;&lt;SPAN class="private-truncated-string"&gt;&lt;SPAN class="private-truncated-string__inner"&gt;&lt;SPAN class="private-truncated-string__reverse"&gt;&lt;SPAN class="private-truncated-string__reverse__tail"&gt;&lt;SPAN class="private-truncated-string__reverse__content"&gt;/files/v3/files/import-from-url/async&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result when the upload has finished is a JSON similar to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "status": "PENDING",
  "result": {
    "id": "string",
...
    "parentFolderId": "string",
    "name": "string",
    "path": "string",
...
    "defaultHostingUrl": "string",
    "url": "string",
...
  },
...
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a safe way of deep linking to that file in the File Manager (UI). For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://app-eu1.hubspot.com/files/[accountId]/?folderId=[folderId]&amp;amp;showDetails=[fileId]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Can I access the region for a specific HubSpot account by API&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Can i avoid using the region in the URL domain? Is there a catch all domain that redirects to the correct region automatically?&lt;/LI&gt;&lt;LI&gt;Is it safe to use the deep link into the File Manager given that 1 can be solved?&lt;/LI&gt;&lt;LI&gt;Can you consider implementing a URL deep link into the filemanager, in addition to the public URL used for linking or downloading, as a part of responses to File and Folder related API requests?&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 24 Aug 2021 15:54:09 GMT</pubDate>
    <dc:creator>StaffG</dc:creator>
    <dc:date>2021-08-24T15:54:09Z</dc:date>
  </channel>
</rss>

