licensing api