How can I download a file with Mural API

Using the files API endpoint (https://developers.mural.co/public/reference/getmuralfilewidgets) , I can get a list of the file widgets on a Mural. Withing the returned data is a url linking to the file itself. I can not go to this file directly as I am not authenticated. I have tried passing the accessToken using the Bearer header but this doesn't appear to work:

Authentication information is not given in the correct format. Check the value of Authorization header.

Can anyone advise on how to access these file urls?

Answers

  • Meghan
    Meghan ✭✭✭

    Hang in there! Help is on the way :)

  • Yes, that works fine. But I'm writing an internal tool for use by our org that requires me to be able to get the files via the API not the web app.

  • I have the same problem, any solution?

  • I found the solution of the problem, but dont know why.

    Try to download the file with a new session other than that with token will success.