Message-Attachments via Rest API
Hi,
I try to get Message-Attachments via Rest API.
What I do is to get URL from the response of : ../messages/id/#{message_id}/uploads/attachments
The URL I get looks like this :
https://THE-COMMUNITY/OUR_COMPANY/attachments/OUR_COMPANY/BOARD_NAME/BOARD_ID/1/"a file name even with spaces.pdf"
When I try do download this file , I get this error : "ERROR could not download file: 403 Forbidden"
I tried the same with uploads/images (to proof that I am doing everything in the right way) , and this works.
I can download images…even via HTTPS.
So what I´m doing wrong ? Any help is very welcome.
Regards
Lutz
Thanks for your answer.
We found the solution.
You must enable the option -Make all attachements public- in the admin interface.
After that, you're able to download all attachements over the API
Regards,
Lutz