London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Content Delivery API 2.6.1

API version: 2.6.1

Note: If you use our OAuth for authentication and authorization, you need to include the Authorization parameter in the header for most of the APIs. If you do not use our OAuth and instead, integrate Content Delivery API into your current site (for example, the Alloy site) and call the API within the same site, the Authorization header is no longer needed for all APIs below.

From the version 2.1.0 and higher, returned results from endpoints are in camelCase except for /api/episerver/auth/token.

Older versions of this documentation:

Content Delivery API

ContentApi

GET​/api​/episerver​/v2.0​/content​/{contentReference}
Get content by given content reference and language
GET​/api​/episerver​/v2.0​/content​/{contentGuid}
Get content by given content GUID and language
GET​/api​/episerver​/v2.0​/content​/{contentReference}​/children
Get the children of the content item with given language
GET​/api​/episerver​/v2.0​/content​/{contentReference}​/ancestors
Get the ancestors of the content item with given language
GET​/api​/episerver​/v2.0​/content
Get contents by list of GUID/Reference with given language

Authorization

POST​/api​/episerver​/auth​/token​/
Get token by using refresh token.
POST​/api​/episerver​/auth​/token
Get token by username and password.

SiteDefinitionApi

GET​/api​/episerver​/v2.0​/site
Get SiteDefinitionModel of current request

Models

ContentApiModel
ContentModelReference
LanguageModel
SearchRequest
SearchResponse
SiteDefinitionModel
SiteDefinitionLanguageModel