Skip to main content
Answer

Variant data to messaging tool

  • October 8, 2024
  • 2 replies
  • 71 views

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

This post has been closed for comments

2 replies

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 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
  • October 14, 2024

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