Hi team,
I am trying to download attachments stored in my CRM contacts notes section with the API.
I am able to identify the attachment_id for a contact in the notes section by using:
{api-domain}/crm/{version}/{module_api_name}/{record_id}/Notes
and parsing the $attachments section to obtain the id.
I have then tried downloading the attachments using:
{api-domain}/crm/{version}/{module_api_name}/{record_id}/Attachments/{attachment_id}
But this looks for the attachments in the attachments section.
I have also tried:
{api-domain}/crm/{version}/{module_api_name}/{record_ID}/actions/download_fields_attachment
but to no avail.
Does anyone know if I am going about things the correct way and whether this is possible. I am trying to take the attachments for specific contacts and link them with another system, so I need to keep the search, download and upload process within the client (as opposed to bulk downloading all attachments, which I understand is also possible.)
Any help greatly appreciated.