How to view audience qualified profile through Segmentation endpoints | Community
Skip to main content
February 7, 2024
Solved

How to view audience qualified profile through Segmentation endpoints

  • February 7, 2024
  • 4 replies
  • 1899 views

How to view audience qualified profile through Segmentation endpoints

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by abhinavbalooni

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#:~:text=Export%20jobs%20are%20asynchronous%20processes,create%2C%20and%20cancel%20export%20jobs.

 

Hope this helps.

 

Cheers,

Abhinav

 

4 replies

Tof_Jossic
Adobe Employee
Adobe Employee
February 7, 2024

@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/retrieveEntity

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

abhinavbalooni
Community Advisor
abhinavbalooniCommunity AdvisorAccepted solution
Community Advisor
February 8, 2024

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#:~:text=Export%20jobs%20are%20asynchronous%20processes,create%2C%20and%20cancel%20export%20jobs.

 

Hope this helps.

 

Cheers,

Abhinav

 

sheejo
February 9, 2024

@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.

NimashaJain
Adobe Employee
Adobe Employee
February 12, 2024

@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.