Skip to main content
Solved

Add user to newsletter/list


Forum|alt.badge.img+1

Hello,

 

I am new to Klaviyo. On my web app (I am using PHP Laravel), upon user registration, I want also to subscribe the user to a List that I’ve created on Klaviyo.

 

I noticed there are two endpoints to:

  • Subscribe a profile to a list
  • Add a member to a list

 

Which one should I be using in this case? In terms of Klaviyo concepts, what’s the operation name to add user to a list?

 

Thank you

Bill

Best answer by Brian Turcotte

Hi @BilalHadiar!
 

If you want to add a user to a List at the same time as updating their overall marketing subscription status, then you can use this endpoint:

 

Essentially, by updating overall marketing status, I mean updating consent to receive any email and/or SMS marketing. I’m assuming you’d want to do this during registration, so this would probably be the endpoint you’re looking for.

 

However, there is also this endpoint, which only adds a profile to a list, but does not change the overall marketing consent status of the profile:

 

I hope this helps to clarify, and thanks for using the Community!

- Brian

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • August 17, 2023

Hi @BilalHadiar!
 

If you want to add a user to a List at the same time as updating their overall marketing subscription status, then you can use this endpoint:

 

Essentially, by updating overall marketing status, I mean updating consent to receive any email and/or SMS marketing. I’m assuming you’d want to do this during registration, so this would probably be the endpoint you’re looking for.

 

However, there is also this endpoint, which only adds a profile to a list, but does not change the overall marketing consent status of the profile:

 

I hope this helps to clarify, and thanks for using the Community!

- Brian


Forum|alt.badge.img+1
  • Author
  • Contributor I
  • 2 replies
  • August 17, 2023

Thanks @Brian Turcotte 

Is there a way to add a user to a list without actually creating a profile for that user?

 

Thanks

Bill


David To
Klaviyo Employee
Forum|alt.badge.img+60
  • Klaviyo Employee
  • 2456 replies
  • August 21, 2023

Hey @BilalHadiar,

There wouldn’t be a way to add a user to a list without them having a profile. Every contact/user in your Klaviyo account will have a profile created. 

David