aapi work