HomeGuidesAPI Reference
ChangelogHelp CenterCommunityContact Us
API Reference
These docs are for a deprecated API version. Click here to use the latest version.

Exchange ID for Profile ID

Klaviyo's web tracking uses an encrypted identifier. However, there are many use cases that require developers to have access to a given profile's email or phone number. In such cases, developers can use this operation to exchange an encrypted identifier for a profile ID, which they can then use to retrieve the full profile data (by making a subsequent request to the get-profiles operation).

The exchange_id takes the following form:

<IDENTIFIER>.<COMPANY_ID>

The exchange_id appears in the url as follows:

?_kx=<IDENTIFIER>.<COMPANY_ID>

Body Params
string
required
Defaults to EXCHANGE_ID
Response

Language
Credentials