dotCMS Personalization API
Content personalization and persona management
Operations 4
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
POST
/api/v1/personalization/pagepersonas
Personalize a page for a persona · Personalize page containers
#
Ask an LLM
“How do I create a persona-specific version of a page's content?”
“Does personalizing a page start from a copy of the default content?”
Tell an agent
Personalize page {pageId} for persona {personaTag}.
Create a {personaTag} variation of the containers on page {pageId}.
DELETE
/api/v1/personalization/pagepersonas/page/{pageId}/personalization/{personalization}
Remove a persona personalization from a page · Delete page personalization
#
Ask an LLM
“Can I delete a persona's custom version of a page?”
“Is it possible to remove the default personalization from a page?”
Tell an agent destructive · confirm first
Delete personalization {personalization} from page {pageId}.
Remove the {personalization} persona content from page {pageId}.
Ask an LLM
“Is there a legacy endpoint for the personas portlet layout?”
“Can I load the persona admin layout by its params?”
Tell an agent
Get the personas layout for {params}.
Load the legacy persona layout with params {params}.
Ask an LLM
“Which personas are defined for a given site?”
“Can I list personas by site ID using the older personas route?”
Tell an agent
List personas for site {id}.
Show the personas available on site {id}.
Documentation
Documentation
https://dev.dotcms.com/docs/build/apis/api-basics/rest-apis
APIReference
https://dev.dotcms.com/docs/build/apis/rest-apis/api-playground