I'm trying to get current logged in user's emailAddress and name fields within a java app. This java app is embedded in a custom activity in the journey builder. Java app uses FuelSDK to retrieve data from Marketing Cloud.

I have followed the approach described in the answer to this question.

According to that approach, when I hit the GET /platform/v1/tokenContext endpoint, I get this response.

HTTP/1.1 202 Accepted
    "enterprise": {
        "id": 1081365
    "organization": {
        "id": 1081365
    "user": {
        "id": 1093240

But I'm unable to find a way to retrieve other user details such as emailaddress and name with this user.id.

If anyone of you could point me in the right direction, much appreciate your help.

  • is the UserId the ContactId ? – AshBringer Feb 5 at 9:53
  • if yes you can create a ContactId field on your population and query you data extension to find details with a lookup using user.id. You can populate this field via journey using data binding – AshBringer Feb 5 at 9:58
  • @AshBringer unfortunately it's not the contactIdIt's currently logged in users id. But I can't see this id in any of the data extensions within marketing cloud either. – Ranga Feb 5 at 10:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.