How do I create REST APIs to provide endpoints for my Android app developer using my already built Codeigniter app?

I have built a web application for my client with different admin panel functionalities. I need to give an app developer API endpoints to realize the same functionalities in the mobile app. How do I do that?