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.
contactId
It'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 '19 at 10:22