Skip to main content
Contributor I
May 9, 2025
Solved

Convert exchange_id to prifile_id

  • May 9, 2025
  • 3 replies
  • 134 views

Hi,

We have old API https://a.klaviyo.com/api/v2/people/exchange

to get profileID from exchange_id

is this supported in new API already?

I have user exchange_id from cookie and I’d like to get profile_id from klaviyo ~ server-side.

Is it possible?

    Best answer by yukkon123

    So I have found response of this

    I can use filter in https://developers.klaviyo.com/en/reference/get_profiles

    3 replies

    yukkon123AuthorAnswer
    Contributor I
    May 9, 2025

    So I have found response of this

    I can use filter in https://developers.klaviyo.com/en/reference/get_profiles

    ross_hopkins
    Expert Problem Solver II
    2025 Champion
    May 12, 2025

    Hey Yukkon,

    I’d be interested to hear what use-case you were working on here?

    I ran into this issue with the new API when attempting to implement Klaviyo cross-domain tracking (where you append the _kx parameter to links to sub-domains, for eample), but managed to eventually find a working solution.

    Contributor I
    July 14, 2025

    Hi ​@ross_hopkins would you mind sharing your solution for cross domain tracking and the new Klaviyo library?

    Thanks