The push notification token/dataset looks like this:
"pushNotificationDetails": [
{
"denylisted": false,
"token": "CAOUJOSDAFR12309172309",
"identity": {
"namespace": {
"code": "ECID"
},
"id": "123456"
},
"platform": "apns",
"appID": "com.tenant"
}
I am wondering
1) Is it possible to add our CRM ID somewhere into the namespace or the object so that we know what CRM ID this ECID belongs to? It is possible that there are multiple CRM IDs/online logins in the same profile
2) How can I fetch/query the token in real-time? Looks like the push token doesn't get stored in any dataset/datalake as far I can see, not even the "Push Profile dataset". As far as I understand, it comes from the AEP Mobile SDK directly into the profile, is there anyway I can query the profile in real-time, I would like to add the CRM ID through a query if possible.
Thanks.