Mark a submission as spam or not spam
websiteForms_submissions_setStatusMoves 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"websiteId": "<websiteId>",
"submissionId": "<submissionId>",
"status": "<status>"
},
"name": "websiteForms_submissions_setStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | `spam` hides the submission in the spam folder; `inbox` restores it and sends any missed notification. | |
| websiteId | Yes | ||
| submissionId | Yes |