This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Checks whether a submission is spam.
Which checks run depends on the form's spamFilterProtectionLevel in the Form Schemas API.
This method returns the result only. It doesn't store a form spam submission report. To move a saved submission to spam, call Report Spam Submission. To store a spam submission that wasn't saved, call Create Form Spam Submission Report.
Supported only for forms in the Wix Forms namespace, wix.form_app.form. Calls for forms in other namespaces fail with a permission error.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.