Delete a submission
Hard-deletes the submission and decrements the form's counters. Owner-only — deleting from a shared form's inbox returns 403. Recorded in the audit log (submission.deleted).
View as MarkdownAuthorization
bearer In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/forms/string/submissions/string"{ "message": "string"}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.
Submission counts by field value
Counts of the form's submissions grouped by the value of one or more submitted fields (data->>field), largest first, with a missing or blank value counted as "(none)". Each breakdown keeps the top 100 values; other is how many submissions fall in values past that cap. Spam is excluded unless includeSpam=true. Readable: the caller's own form or one a teammate shared with the organization.