EaserixDocs
DevelopersAPI referenceFormsSubmissions

Mark spam / not spam

Flips the spam flag and adjusts the form's spamCount. Returns a message, not the submission. Owner-only — triaging a shared form's inbox returns 403.

View as Markdown
PATCH
/v1/forms/{id}/submissions/{sid}
AuthorizationBearer <token>

In: header

Path Parameters

id*string
sid*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/forms/string/submissions/string" \  -H "Content-Type: application/json" \  -d '{    "isSpam": true  }'
{  "message": "string"}