Skip to main content
Answer

How to update klaviyo profile using external id or email ?

  • April 2, 2024
  • 3 replies
  • 479 views

Forum|alt.badge.img+1

Hi team,
I’m new to klaviyo, I want to update custom properties in klaviyo profile but it requires profile id, Is there any API or method in npm ‘klaviyo-api’ package by which we can update profile using external id or an email ?

Best answer by abhijithvs

Yes You can use Create or Update profile in the latest stable version of Klaviyo API - 

API: /api/profile-import/
Sample payload:

{
"data": {
"type": "profile",
"attributes": {
"email": "test@klaviyo.com"
}
}
}

 

3 replies

Forum|alt.badge.img+2
  • Contributor I
  • April 2, 2024

Hey. You can use create or update profile and send it just the email. 


Forum|alt.badge.img+3
  • Problem Solver III
  • Answer
  • April 2, 2024

Yes You can use Create or Update profile in the latest stable version of Klaviyo API - 

API: /api/profile-import/
Sample payload:

{
"data": {
"type": "profile",
"attributes": {
"email": "test@klaviyo.com"
}
}
}

 


  • Contributor I
  • April 3, 2025

@abhijithvs Are you showing a payload for creating/updating the email address? I think ​@Ray8998 is asking how to do an update without needing the id. I’m trying to do the same thing. For now, I’m doing a lookup using /api/profiles?filter=equals(email,"user@example.com") to get the id.