Homeyscript for bearer token

I guess the answer can be found in an other topic, from this post onwards.