Skip to main content
Contributor III
November 10, 2021
Solved

Is it possible to set a custom "$source" property value via API?

  • November 10, 2021
  • 11 replies
  • 1482 views

Hello, 

My company currently integrates with Klaviyo via REST API requests. Specifically, we’re using the /subscribe endpoint to populate Klaviyo lists. The $source property, in newly added profiles, is auto-assigned a value of “API” in our case, and it would be very nice if we could change this to our company name. 

This is the only documentation I can find related to this, but it only mentions manually setting this value. 

https://help.klaviyo.com/hc/en-us/articles/1260804673530-Source-Value-Reference

 

Thanks!

    This topic has been closed for replies.
    Best answer by alex.hong

    Hey @nickriley!

    Thanks for the clarification. You can achieve this by including $source in the payload using the subscribe endpoint for any net-new users to rename. So $source = name of company as seen below.

    Let me know if that helped!
    Alex

    11 replies

    alex.hong
    Klaviyo Alum
    April 7, 2022

    Hi @NicoSpoke,

    So for this case, there really is no other thing to mention as I’ve covered all bases regarding the expected behavior and mechanics of the $source property and API. The list growth report will still just show API no matter what; Certain 3rd party integrations will show unsubscribe but not if you’re just using our API. Unfortunately, there is not much more to go over.

     

    All the best,

    Alex