Demystify the concept of Application Programming Interfaces (APIs) and meet the powerful suite of APIs provided by Kontent.ai. You'll learn how they can streamline your content management and delivery, empowering you to create, manage, and distribute content.
The role of APIs in Kontent.ai
With a headless CMS like Kontent.ai, APIs serve as a bridge that delivers your content from the CMS to various digital platforms. For example, whenever you need to display a piece of content, such as an article, you make an API request to get the content to your app and then display your content.APIs allow developers to fetch and display content in any application without needing to understand the underlying CMS architecture. This ensures content is seamlessly integrated and managed across different channels.
A brief look at Kontent.ai APIs
Kontent.ai offers several APIs for different purposes. Depending on your needs and requirements, you might want to use several APIs together to keep your content operations running smoothly.Each Kontent.ai API is tailored to a specific purpose:
Custom elements API is a JavaScript API for enhancing the Kontent.ai authoring experience.
Delivery API is a REST API for retrieving published content.
Delivery Preview API is a REST API for retrieving the latest content, including published and unpublished content.
Image transformation API is an image manipulation API built on top of Delivery API for customizing image assets.
Management API is a REST API for managing the content and settings of your projects.
Subscription API is a REST API for managing users across projects under a subscription.
Sync API is an API built on top of Delivery API for synchronizing content changes in your projects. It’s an alternative to webhooks.
When building apps and integrations around these scenarios and APIs, you need to include API keys in your requests. For instance, you might use a specific API key to preview content and another API key to synchronize changes.
When to use each API?
Here’s a little challenge! Let’s match a few scenarios to the APIs.
Delivery API
Management API
Now that you’re familiar with the Kontent.ai APIs, it’s time to understand their API keys.
Sign in with your Kontent.ai credentials or sign up for free to unlock the full lesson, track your progress, and access exclusive expert insights and tips!