This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
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.
Triggered when a submission is deleted.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.forms.v4.submission
.
Event name. Expected deleted
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.forms.v4.submission_deleted",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"id": "d89ac711-727f-4884-ab09-5ce4e334df02",
"entityFqdn": "wix.forms.v4.submission",
"slug": "deleted",
"entityId": "3342df1b-6064-4dbe-83be-3aa196d78214",
"deletedEvent": {
"movedToTrash": true
},
"eventTime": "2023-06-15T08:02:59.371918Z",
"triggeredByAnonymizeRequest": false,
"originatedFrom": "{\"namespace\":\"wix.form_example.form\"}"
}