Discussions
Getting form submissions based on funnel_id
Hi there,
I was wondering if it’s possible to retrieve form submissions based on the funnel ID in which the leads entered. We have multiple flows and funnels, and it’s critical for us to determine where each lead originated from.
For example:
By making an API call to List Funnels
(https://{subdomain}.myclickfunnels.com/api/v2/workspaces/{workspace_id}/funnels),
we can extract identifying properties (e.g., id and name) for each funnel.
Based on the funnel details, we would then make another API call to List Form Submissions
(https://{subdomain}.myclickfunnels.com/api/v2/workspaces/{workspace_id}/form_submissions)
and retrieve all the leads that entered through a specific funnel.
However, it seems that the List Form Submissions endpoint retrieves all form submissions without specifying which funnel the leads came from. This makes it difficult for us to determine the source of each lead.
If this functionality is not currently possible, could you let us know if there’s any workaround available? For instance, would it be possible to create a hidden field that is consistent for all leads within a specific funnel and corresponds to the funnel name or ID?
Thank you for your time and assistance!
Best regards,
Alex