Baixe o arquivo da API Response

window.open("<insert URL(api call) here>") //call this with a function when button is clicked
Splendid Seahorse