Web API is a framework that helps you to create and develop HTTP based RESTFUL services to be consumed by a 3rd party system. This feature can be useful to reach a broad range of clients including different platforms such as mobile applications, software, or web-based application.
You can develop your own Web API in Kentico Projects.
The instruction on how to do that already describe in Kentico documentation here:
Some of you have an issue when following the step by step described in the documentation above even they follow one by one on the guide. For my case, After following the steps, I’m receiving an error like the image below.
The issue is because the Web API projects using latest version from what CMS Kentico already installed.
To solve this issue, you need to open the NuGet package for your solution and update Kentico Library to use the latest version OR you might need to downgrade the library package used for your Web API to the lower version(recommended).
The recommended solution is because to avoid any issue for other Kentico modules that already working well with the old version Library.