Skip to main content
Solved

Variant data to messaging tool


tobysola1
Forum|alt.badge.img+9

Hi, 

Is there a way/what’s the best way to forward which variant a user saw during an AB test to the webhook? 

I want to message my users differently, depending on which price they saw. The messaging tool I use is Customerio (RC doesn’t have a direct integration with Customerio, so I have to forward data via the webhook). How do I get which user saw which price into Customerio? 

Thanks, 

Toby 

Best answer by Ryan Glanz

We have a v2 api endpoint which returns a customer’s experiment id and variant: https://www.revenuecat.com/docs/api-v2#tag/Customer/operation/get-customer

Otherwise, you could get this information from a Customer List as well

View original
Did this post help you find an answer to your question?
This post has been closed for comments

2 replies

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 383 replies
  • Answer
  • October 10, 2024

We have a v2 api endpoint which returns a customer’s experiment id and variant: https://www.revenuecat.com/docs/api-v2#tag/Customer/operation/get-customer

Otherwise, you could get this information from a Customer List as well


tobysola1
Forum|alt.badge.img+9
  • Author
  • Dedicated Member
  • 16 replies
  • October 14, 2024

Thanks, Ryan! I’ll give this info to my developers and follow up with any questions. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings