Forms

Mark a submission as spam or not spam

Moves a submission between the inbox and the spam folder. Restoring to inbox sends the notification email if it was never sent. Spam is deleted automatically after 30 days.

patch/websites/{websiteId}/forms/submissions/{submissionId}

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/websites/{websiteId}/forms/submissions/{submissionId}
  • Auth: HTTP bearer

Path parameters

websiteIdstring required
submissionIdstring required

Request body

status'inbox' | 'spam' required

spam hides the submission in the spam folder; inbox restores it and sends any missed notification.

Response

The updated submission.

idstring required
formNamestring required
status'inbox' | 'spam' required
source'published' | 'draft' required
submitterEmailstring nullable required
submitterNamestring nullable required
pagePathstring nullable required
countrystring nullable required
flagsstring[] required
notifiedAtstring nullable required
notificationErrorstring nullable required
createdAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.