New form submission endpoints and designer state management features
List form submissions by site Data API v2
List form submissions by site - A new endpoint that lets you retrieve form submissions across your entire site. Unlike the existing List Form Submissions endpoint, this endpoint:
- Takes
siteId
as a path parameter - Accepts
elementId
as a query parameter to filter byformElementId
- Works seamlessly with forms in components, where each component instance gets a unique
formId
but shares the sameformElementId
To use this endpoint, first get the formElementId
from the List Forms API, then pass both the siteId
and formElementId
to retrieve all submissions for a specific form, even when it appears in multiple component instances.
Work with pseudo-states Designer API
Get the current pseudo-state of the designer and subscribe to changes in the pseudo-state. This is helpful for showing specific style properties based on a pseudo-state like :hover
, :focus
, or :active
.
- Get the pseudo-state of the designer
Added thewebflow.getPseudoMode()
method to return the pseudo-class state of the designer. - Subscribe to pseudo-state changes
Added options to thewebflow.subscribe()
method to subscribe to changes in the pseudo-state of the designer.
Get additional site details Designer API
- Get site information
ThegetSiteInfo
method now returns thedomains
object in the response.