Custom

GET {{api-domain}}/crm/v2.1/{{custom_module_api_name}}/{{record_id}}/Attachments/{{attachment_id}}

To download a file attached to a record.