Loading...
Area: Optimizely Content Management API

API overview

Recommended reading 

Below is a list of endpoints included with the Content Management API. For more details, see API fundamentals for examples on how to use the endpoints.

Get

Returns the primary draft or latest published version of a content object.

get/api/episerver/v2.0/contentmanagement/{contentGuid}
get/api/episerver/v2.0/contentmanagement/{contentReference}

Create

Creates a content object of a desired type under a parent. The endpoint also can be used to create a new language branch for an existing content.

post/api/episerver/v2.0/contentmanagement

Update

Update primary draft or latest version of a content object. This endpoint is ideal for changing a part of content, especially content status (for example, make it published) if needed. This endpoint cannot be used to update content hierarchy.

patch/api/episerver/v2.0/contentmanagement/{contentGuid}
patch/api/episerver/v2.0/contentmanagement/{contentReference}

Delete

Moves the content object to the trash bin or permanently deletes it.

delete/api/episerver/v2.0/contentmanagement/{contentGuid}
delete/api/episerver/v2.0/contentmanagement/{contentReference}

Move

Moves the content object to become a child of the target ID.

post/api/episerver/v2.0/contentmanagement/{contentGuid}/move
post/api/episerver/v2.0/contentmanagement/{contentReference}/move

CreateOrUpdate

If the content already exists, then the endpoint updates the content object. If it does not exist, a new content object is created. This endpoint cannot be used to update content hierarchy.

put/api/episerver/v2.0/contentmanagement/{contentGuid}
Do you find this information helpful? Please log in to provide feedback.

Last updated: Apr 20, 2021

Recommended reading