APIs & Integrations

silicium
Member

How to download file via API?

Hello

According to this docs: https://developers.hubspot.com/docs/methods/files/get_files_file_id
we can get JSON with information about file, which is attached to deal for example, also here are some links like url or alt_url,
but when I try to go this link I get 403 Forbidden.

Is there possibility to download file?

Thanks

0 Upvotes
2 Replies 2
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

How to download file via API?

Hi @kremenetskyi,

If this file is hidden, you’ll want to see my replies to your other topic:

Hi @kremenetskyi, You can access the file via the HubSpot UI. Hidden files are not meant to be accessible outside of the UI, so I would recommend only working with these files via the UI wherever possible. *Edit: Corrected; it isn’t possible to un-hide files

0 Upvotes
silicium
Member

How to download file via API?

Thanks!

Is it possible to un-hide attached file via API?
Couldn’t find this option…

P.S. Probably should we close one of topic with discussion regarding this question?

0 Upvotes