add api key endpoints