Api/pdf downloading pdf with api request

Welcome to the community, @djenty! This post discussed previously should help you solve your issue: