Using fetch for example like below: fetch(<"yoururl">, { method: 'GET', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + <your access token if need> }, }) .then((response) => response.blob()) .then((blob) => { // 2. Create blob link to download const url = window.URL.createObjectURL(new Blob([blob])); const link = document.createElement('a'); link.href = url; link.setAttribute('download', `sample.xlsx`); // 3. Append to html page document.body.appendChild(link); // 4. Force download link.click(); // 5. Clean up and remove the link link.parentNode.removeChild(link); }) You can paste in on Chrome console to test. the file with download with 'sample.xlsx' Hope it can help!