Accessing the Syrinscape API with javascript

I totally caved and got cors-anywhere working… #SorryNotSorry

2 Likes

I’m trying to get this to work as well, I was able to comment most of the macro the OP posted and it does work…

If I make a Macro in Foundry VTT to play on casting the Bless spell for instance
fetch('https://www.syrinscape.com/online/frontend-api/elements/415635/play/?auth_token=SecretToken', { mode: 'no-cors'})

It plays, but at max volume. Is there a way through the link to specify to play at like 50%? I have the One Shot volume at 100% due to needing the voices to be heard, but if we cast a spell it is very loud.

Thanks