How to get more information about attachment?

deals

#1

According to API documents we can get some information via Engagements API, for example, using this method
Get Associated Engagements

But in attachments list we can see only id, like this:

"attachments": [
    {
        "id": 5415389099
    }
]

Unfortunately, I couldn’t find info how to get more information, like file’s name, file\s type and link to file.

Thanks for help


#2

Hi @kremenetskyi,

You’ll need to use the COS Files API to pull that file’s information:


#3

Thank you @Derek_Gervais,

I am not sure, because I don’t see files, which were attached, in File Manager on front-end.

Anyway, I will try and let you know.


#4

Hi @Derek_Gervais.

It works! Thanks


#5

Hi @kremenetskyi,

I’m glad to hear you’ve got it working! Just for context, files attached to engagements have a field hidden set to true. This prevents them from appearing in the file manager UI and from being visible by their public URL. The only way to views hidden files is through the UI of the object they’re attached to. This is why you’re not able to see these files in your file manager.