I’m not seeing an attachments array for CRM objects like the HubSpot company. Are attachments exposed on contact, company, or deal objects? Are there any plans to?
At this time, it is not possible to change a file from "hidden": true to "hidden": false, or vice versa, as indicated inthis article. I am sorry if this comes as an unwelcome surprise.
One way to prevent files from being hidden is to upload them to HubSpot's file manager before attaching them to an engagement. Seethis screencast.
Attachments are exposed via the engagements API. So if you were to use the GET Associated Engagements endpoint you will see an attachments array in each engagement object, which is populated with file IDs which you can get access to via this endpoint.
Were you guys able to circumvent this problem? I used the strategy mentioned, but the links for the attachments are broken, albeit present in 3 different properties.
Could you describe the steps you're taking and the behavior in greater detail?
For example, did you use this Engagements API endpoint to retrieve engagements on a CRM object, locate file IDs in various engagements' attachments arrays, query this endpoint with the file IDs, and find that the URLs in the url fields led to 404 error pages?
At this time, it is not possible to change a file from "hidden": true to "hidden": false, or vice versa, as indicated inthis article. I am sorry if this comes as an unwelcome surprise.
One way to prevent files from being hidden is to upload them to HubSpot's file manager before attaching them to an engagement. Seethis screencast.