Skip to main content

Hi,

I’m very new to Klaviyo. I set up a “subscribe to list” API call for when people subscribe to my newsletter. It seems to work fine, as it either just subscribes the user to the List or if the profile doesn’t exist yet, creates the profile and subscribes it to the list. However, it seems like it is not possible to add custom fields to these profiles in the same API call, is this correct? In the old API v1-2 it seems to be possible https://developers.klaviyo.com/en/v1-2/reference/subscribe.

 

Maybe I’m using the completely wrong API call for what I am trying to achieve. I just need a new profile being created (only have their e-mail address) with one custom field, and subscribe them to my newsletter List.

 

Thanks in advance for the help,

 

Best regards,

Nicolas

Hi @nrosen!

 

You’re correct - the V3 Subscribe Profiles endpoint does not currently support custom fields. However, you are able to use the Create and Update Profiles endpoints to add them, it would just require another API call.

 

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

- Brian


Hi Brian,

 

thanks a lot for the help. So would you suggest to use the Creat Profile and then Subscribe to List API calls to achieve this?

Best regards,

Nicolas


Hi @nrosen!

 

That will depend entirely on how your integration is set up - if the Subscribe to List endpoint is already creating the profiles in a manner you feel is appropriate, then it may be better to just call the Update Profile endpoint after.

 

However, this will all come down to your own business/data strategy, so there isn’t necessarily a clear answer - just whatever you feel is easier to manage and visualize.

 

Best,

Brian


Reply