Probably a more secure way to do this is to use or create a plugin to get the CDN link in a backend workflow by passing the api token and then just sending over the CDN link, no?
I thought there was a plugin that could do that but now I can’t find it.
Edit: Found it
File Sharer Plugin | Bubble