Expand my Community achievements bar.

SOLVED

How to view audience qualified profile through Segmentation endpoints

Avatar

Level 2

How to view audience qualified profile through Segmentation endpoints

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @BellaSnow5378 

As @Tof_Jossic mentioned, you can query specific profiles and check their segment membership. As far as I understand, there is no specific segmentation endpoint which gives you a response with the profiles.

 

However, there is an export job endpoint which can help you export those profiles into a dataset and use that dataset instead. You can read more about it here: https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/export-jobs.html#:~:tex....

 

Hope this helps.

 

Cheers,

Abhinav

 

View solution in original post

4 Replies

Avatar

Employee Advisor

@BellaSnow5378 Not sure if this is what you are after but you should be able to use the Real-time Customer Profile API to retrieve an entity - See https://developer.adobe.com/experience-platform-apis/references/profile/#tag/Entities/operation/retr...

In this instance the entityId is the profile ID or (XID) you see in the profile page

 

The response from that call will include the "segmentMembership" section.

 

Hope that helps

Avatar

Correct answer by
Community Advisor

Hi @BellaSnow5378 

As @Tof_Jossic mentioned, you can query specific profiles and check their segment membership. As far as I understand, there is no specific segmentation endpoint which gives you a response with the profiles.

 

However, there is an export job endpoint which can help you export those profiles into a dataset and use that dataset instead. You can read more about it here: https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/export-jobs.html#:~:tex....

 

Hope this helps.

 

Cheers,

Abhinav

 

Avatar

Level 4

@BellaSnow5378 , if you are comfortable with Query services, you can use the below query to get the profiles.
select * from (
select map_keys(segmentMembership.ups) as segmentid,identitymap.b2b_person.id from profile_snapshot_export_xxxxxxx ) where array_contains(segmentid,'xxxxxxxxxxxx(segmentid)') limit 10

segment id, you will get from the particular audience.

Avatar

Administrator

@BellaSnow5378 Did you find the suggested solutions helpful? It would be great if you can  mark the answer as correct for posterity. If you have found out solution yourself, share it with wider audience in the community.