How to retrieve profile by bulk profile update with pcId | Adobe Higher Education
Skip to main content
April 15, 2025
Frage

How to retrieve profile by bulk profile update with pcId

  • April 15, 2025
  • 2 Antworten
  • 424 Ansichten

Hi Support Team,

I tried with https://experienceleague.adobe.com/en/docs/target-dev/developer/api/profile-apis/profile-bulk-api to upload pcId profile but i don't know how to retrieve profile info from API. Although i can retrieve profile by https://experienceleague.adobe.com/en/docs/target-dev/developer/api/profile-apis/profile-fetch#using-a-thirdpartyid. Thank you.

Dieses Thema wurde für Antworten geschlossen.

2 Antworten

AnkitJasani29
Level 6
April 24, 2025

Hi @treasuredata ,

 

Retrieving profile data via API

To fetch profile data, you cannot use the same bulk upload endpoint. Instead, you need to use the Profile Fetch API:

Docs: https://experienceleague.adobe.com/en/docs/target-dev/developer/api/profile-apis/profile-fetch

 

Example Fetch URL:

GET https://<client>.tt.omtrdc.net/rest/v1/profiles/<profileId>?client=<client>

 

  • Replace <client> with your Adobe Target client code.

  • Replace <profileId> with the pcId you are querying.

  • The pcId is the unique Target profile ID and can be found in the mbox cookie or returned from Target.
  • You must use the same client code used during the bulk upload.

     

AmitVishwakarma
Community Advisor
Community Advisor
April 30, 2025

Hi @treasuredata ,

Bulk Upload API:
Used to send data to Adobe Target for multiple profiles at once.
Endpoint:
https://<client>.tt.omtrdc.net/rest/v1/profiles/bulk

Profile Fetch API:
Used to retrieve a single profile by its pcId.
Endpoint:
GET https://<client>.tt.omtrdc.net/rest/v1/profiles/<pcId>?client=<client>

How to Retrieve a Profile by pcId

Get your pcId:

This is typically found in the mbox cookie under the name mboxPC.

Or you can retrieve it after a Target call response.

Use the Profile Fetch API:

 

GET https://<client>.tt.omtrdc.net/rest/v1/profiles/<pcId>?client=<client>

 

Replace:

<client>: your Adobe Target client code

<pcId>: the profile ID you used during bulk upload

This will return a JSON object with profile attributes like this:

{ "profileAttributes": { "loyaltyStatus": "gold", "lastLoginDate": "2025-04-29" } }

Make sure you wait a few seconds after uploading via bulk API before fetching — Adobe Target may take a moment to ingest the data.

The client code in the fetch URL must match the one used during the upload.

The pcId must exactly match what was used during upload (case-sensitive).

Regards,
Amit