Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Segmentation API

Avatar

Level 10

Is there a way to get all the Segmentation / Campaign available programmatically ? Basically any API available to handle the campaigns manually

1 Accepted Solution

Avatar

Correct answer by
Employee

Segments and Campaigns are "just" content, so yes, you can get the resources and inspect them.

Using them, however, outside of AEM is complicated because they are generally going to be dependent upon AEM-specific JavaScript. For example, you can fetch http://localhost:4502/etc/segmentation/geometrixx-outdoors.segment.js via HTTP, but that is just making a bunch of JavaScript calls which wouldn't be available in a different context.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Segments and Campaigns are "just" content, so yes, you can get the resources and inspect them.

Using them, however, outside of AEM is complicated because they are generally going to be dependent upon AEM-specific JavaScript. For example, you can fetch http://localhost:4502/etc/segmentation/geometrixx-outdoors.segment.js via HTTP, but that is just making a bunch of JavaScript calls which wouldn't be available in a different context.