Skip to main content
Contributor I
August 20, 2025
Solved

Cookie CID -> How to retrieve a profile?

  • August 20, 2025
  • 1 reply
  • 103 views

Is the kx filter available on the getProfiles API endpoint the same as the cid one can extract from kla__id cookie after decoding the base64 into a json object?

    Best answer by whereisjad

     

    https://a.klaviyo.com/api/profiles?filter=equals(_kx,’<exchange id>’)

     

    This endpoint will return the user's 'person_id' in Klaviyo.

    1 reply

    whereisjad
    Expert Problem Solver IV
    Expert Problem Solver IV
    August 20, 2025

     

    https://a.klaviyo.com/api/profiles?filter=equals(_kx,’<exchange id>’)

     

    This endpoint will return the user's 'person_id' in Klaviyo.

    — Jad A | Klaviyo + Shopify + API Integrations Specialist • 7+ Years' Experience Helping with new setups, seamless integrations, and API connections—happy to connect. http://ja-technical-consulting.xyz/