Note: The Form Submission API only works with the Wix Forms app. Call GetAppInstance to confirm that the app named wix_forms
is installed on the site.
Confirms a submission.
You can only confirm a submission that has a PENDING
status. When using forms from the Wix Pricing Plans app, the default submission status is PENDING
. When using forms from the Wix Forms app, the default form submission status is CONFIRMED
. You can change the default status for individual submissions using the Update Submission endpoint.
You can only call this method when authenticated as a Wix app or Wix user identity.
Submission ID to confirm.
The confirmed submission.
curl -X POST \
'http://www.wixapis.com/form-submission/v4/submissions/e62e3011-55cf-4de3-a497-e097b52d86b7/confirm' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>'
{
"submission": {
"id": "e62e3011-55cf-4de3-a497-e097b52d86b7",
"formId": "e62e3011-55cf-4de3-a497-e097b52d86b8",
"namespace": "wix.form_app.form",
"status": "CONFIRMED",
"submissions": {
"first_name": "Adam",
"last_name": "Fisher"
},
"submitter": {
"memberId": "4b42fb49-8c77-4128-859c-8247756f68ef"
},
"seen": false,
"revision": 1,
"createdDate": "2019-10-30T17:22:10.299Z",
"updatedDate": "2019-10-30T17:22:10.299Z"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.