We are developing a custom API integration. We need to pull a profile photo from each contact. Since that is not a standard field, we plan on using the filebox for each contact.
Currently, we make a request to “List Files” endpoint (
/files) and try to fetch file by a specific
contact_id. Once the correct file is matched, we try to download it using
download_url field. In order to achieve this, the file public property should be set to
true. However, all files with the
contact_id have the public property equal to false. It is worth noting, when we try to download the file via
download_url, the URL returns markup of the login page.
Is there any way to download files with
public: falseproperty or change this property to true?
What is the exact relationship between contacts and files?
Since the file has a property
contact_idbut this id doesn’t match any of contacts id properties, is there a way to get files that are associated with specific contact?
I look forward to your reply.