API Recipes
4 Articles
Content Type API Recipes
1 min
Updated04 Sep 2026
The Content Type API lets you programmatically work with content types in Optimizely CMS. Use these recipes to create, update, and manage content types.
Read more
Request access token
5 min
Updated18 Sep 2026
You can obtain an access token by sending a POST request to the OAuth endpoint . You use this token in the header of your subsequent API calls.
Read more
Get content node
3 min
Updated18 Sep 2026
This recipe shows how to retrieve shared metadata for a specific content item using its key. The response contains metadata fields such as content type, container, locales, and timestamps.
Read more
Create a new content item
4 min
Updated18 Sep 2026
This recipe shows how to create a new content item in draft status using the Content API. The request includes a display name, title, body content, and route segment.
Read more