The page leads API returns form data fields in an inconsistent sorting order


Hi,

When I try to hit the /pages/{page_id}/leads API, I get the leads as expected in JSON.
However, I’ve noticed that within the form_data {}, the fields are sometimes sorted in an inconsistent manner between leads. For example, the first lead shows form_data { field1, field2, field3}, and in the second lead, it would show something like form_data {field3, field1, field2}

Is there a way to make sure this is consistent across leads and follows the ordering as sorted on the Unbounce form?

Thank you.

Kind regards,
Nicola


0 replies

Be the first to reply!

Reply