Retrieves a registered external identity mapping for a Cxense identifier. The mapping has either been added using the Javascript addExternalId() api call described in the Event data documentation, or through /profile/user/external/link/update. If no mappings exist, an error is returned.
The user must be authenticated and have read permissions to a sitegroup with the customer prefix registered.
Request
The request object has the following fields:
|
Name |
Type |
Required |
Description |
|---|---|---|---|
|
type |
String |
Yes |
The customer-specific identifier type as registered with Cxense, i.e. a customer prefix . |
|
cxid |
String |
Yes |
The Cxense-specific user identifier, either an internal cross-site user id returned from an API such as /traffic/data , or a site-specific id obtained from |
Response
The response object has the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
id |
String |
The identifier to which cxid is mapped. |
|
type |
String |
The type of identifier - equal to the |
Examples
$ python cx.py /profile/user/external/link '{"type":"cxs", "cxid":"12343123411343595"}'
{
"id":"subscriber14",
"type":"cxs"
}