Getting familiar with the Xperience API

The API examples documentation helps developers learn the basics of the Kentico Xperience API and serves as a library of code snippets. The examples demonstrate how to use the API to manage the system’s objects, including basic operations (creating, retrieving, updating and deleting) and in some cases more advanced tasks.

The examples are organized into the following categories:

Tips:

  • The API examples in the documentation do not include the required using statements for Xperience API namespaces. As long as your project references the Xperience libraries (or contains the Kentico.Xperience.Libraries NuGet package), you can utilize the Visual Studio Quick Actions to quickly Generate usings.
  • To inspect the example code directly in Visual Studio, find the files in the CodeSamples\APIExamples folder of your Xperience setup files (C:\Program Files\Kentico\13.0\ by default).