Skip to main content
Solved

How to subscribe to a list via webhook

  • May 27, 2021
  • 1 reply
  • 819 views

Forum|alt.badge.img+3

Hello, I am trying to subscribe users to a Klaviyo list by sending data to the API via webhook. I think the issue is in the payload, but I’m not sure exactly what it should look like.

 

I’m fairly confident I have the endpoint right, and I have set this up with other email marketing platforms so I know the source of the webhook works. I’m hoping someone can show me an example or a template of what my payload should look like - it just needs to send first name and email address to the list.

Best answer by jallain

Hello @Alex Tucker , would you like to share the endpoint and payload that you are sending? As well as any error you are getting? You should redact any sensitive data like api keys. We should have working examples for all endpoints in our api docs: https://apidocs.klaviyo.com/reference/api-overview

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

1 reply

jallain
Klaviyo Employee
Forum|alt.badge.img+11
  • Klaviyo Employee
  • 70 replies
  • Answer
  • May 27, 2021

Hello @Alex Tucker , would you like to share the endpoint and payload that you are sending? As well as any error you are getting? You should redact any sensitive data like api keys. We should have working examples for all endpoints in our api docs: https://apidocs.klaviyo.com/reference/api-overview