api for hostab app