Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Does API work with the roll20 mobile app?

I just got the  5th Edition OGL by Roll20 Companion  API setup to track ammunition. On the desktop it is working fine for both me(GM) and players, but when triggering the same attacks on the app, the ammunition is not subtracted. I tried looking online but can't find any answers for if the app just doesnt support API or if i have done something wrong.
1716733335
Andreas J.
Forum Champion
Sheet Author
Translator
I have a vague memory of being able to make tokenmod api/mod actions with a custom sheet on mobile, but that was some time ago. And even if making rolls from mobiles that includes mod commands works, that doesn't mean there is no problems with mods listening & acting upon. Few things to check, to see if we can narrow down the issue further? How widely was this replicated, did this happen for more than one person? And you are sure this isn't limited to just specific character? Does rolls made from mobile look different on a desktop chat, than rolls made from a computer? Potential workaround: If the chat output look different, it's possible the script haven't been updated to recognize rolls from mobile template, and it's a shortcoming with the specific mod, and not with mods as a whole. If this isn't something affecting all mods:   Customizable Roll Listener mod could be used as a workaround to react on rolls by those character. CRL would then make a  ChatSetAttr mod command to subtract arrows Mods in the Meta-Toolbox could also perform the same function as CRL + ChatSetAttr mod combo.
1716838816
The Aaron
Roll20 Production Team
API Scripter
Probably the API Sandbox will not get started up if you are only connecting via the Mobile App.  At least one person would need to connect with the tabletop client to get the Sandbox running and allow the API Scripts to receive events.