finish apikey