read and query REST functions for activation keys