how to create api in REST magento, how to create role and user in
For creation of API in REST Magento, refer below links:
Hope this helps. In this links, some links are used to create API from scretch according to your requirements. Some links are used for example.