Just to be clear - you know you can do all that without using the API? Link bar1 to a character sheet without using the api, so that hp1 currrent and max are set, and then when bar1 is edited, the value on the character sheet changes? Scroll down to the bottom of this page, under the title: Linking Tokens and Characters Together. After you have done the steps listed there, (repeat: after doing that ), open the Journal and set the token as a Default Token. If you have a default token setup already, delete it and re-add it. The number one thing that trips up people with roll20 is how counter-intuitive it is to set up tokens. If you make any changes to the token settings, you have to delete the current character's sheet's token, and reset the updated one.