Expand my Community achievements bar.

Join us for the Adobe Journey Optimizer Community Q&A Coffee Break on 28th February at 8 am PT with Ariel Sultan, Daniel Wright, Josee Haeley and Rohit Basuri.
SOLVED

How to create segment via api in adobe experience platform?

Avatar

Level 1

Hi Team,

 

I have a csv file which has the parameters of a segment (name, from instance, to instance) in dev sandbox, I need to create the same segment in prod sandbox using this parameter file.

 

How can I create a segment via postman api using this file? Also need to iterate through the file in case there are more than 1 segments which needs to be created.

 

In short, how do i copy segment from one sandbox to another?

 

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi,

 

First you need to set up postman for AEP by going to Adobe I/O and setting it up, full details in github link below

https://github.com/adobe/experience-platform-postman-samples 

 

Then once you are ready, you can use this API for segment creation

https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/segment-definitions.htm... 

 

Happy Config ! 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 5

Hi,

 

First you need to set up postman for AEP by going to Adobe I/O and setting it up, full details in github link below

https://github.com/adobe/experience-platform-postman-samples 

 

Then once you are ready, you can use this API for segment creation

https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/segment-definitions.htm... 

 

Happy Config ! 

Avatar

Community Advisor

Hey @user05602 

 

You can use below documents:

 

1. Detailed guide for Segmentation API

2. Github repo for Segmentation API

3. If you use Postman to run APIs, this reference could help

 

Thanks,

Kishore