I have created some API for my wordpress plugin. For example, I managed to make the API that finds a specific subscriber via url:
/id/2
This