Solved

How to get variants using api ?

  • 27 July 2023
  • 2 replies
  • 80 views

Badge
Hi I am trying to use unbounce api to integrate with my system but can I find any documentation to get variant info? Does anyone have documentation about it?
icon

Best answer by Oliver_Lord 27 July 2023, 16:29

View original

2 replies

Userlevel 4
Badge

Hi there @hoang,

 

Thanks for your Community post.

 

We do have this documentation which speaks to the various endpoints available in our API. 

 

As for variant info, it really depends on what you’re looking to send over to your system. The  /leads  endpoint shows the variant of the lead (see here). If you are looking for stats, these don’t get split up per variant with our API (via the /{page_id} endpoint).

 

I hope this helps - let me know if you need any further clarification.

Userlevel 2
Badge +1

I don’t understand why the state wouldn’t be split out by the variant - that is the whole point of the testing software. This seems like a pretty big oversight. Is there a place I can vote this up?

Adam

Reply