This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a poll.
The caller becomes the poll's creator. A poll must have at least one option. Option IDs are ignored and generated.
Creating a poll doesn't display it on the site. To display the poll, add a poll node with the returned poll.id in pollData.poll.id to the rich content, such as a blog post, and publish the content. See the Rich Content documentation.
Site visitors, site members and Wix users can call this method.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.