Can I use a custom form to collect SMS consent?

  • 23 May 2023
  • 1 reply

Badge +1

I have a React (web) application with a form that collects data from users, including their phone number. I want to know if I can include in that form a checkbox from Klaviyo to collect SMS consent. What would be the ideal way to do this?
Thanks 😀


Best answer by David To 24 May 2023, 19:53

View original

1 reply

Userlevel 7
Badge +60

Hello @Arthur M,

I don’t see why you wouldn’t be able too! In my experience, you’ll just need to make a server-side call to pass the SMS consent. 

If you haven’t already, I would suggest taking a look into our (New) Collect email and SMS consent via API Developer guide.

We also offer the How to collect SMS consent via API Help Center article. Although the method discussed in the article uses our v2 API, the principles would still apply when using the (new) subscribe endpoint

I hope this helps!