api magement first methods