Skip to Content

Get Submission

Retrieves a single submission by its ID. Returns 404 if the submission is quota-locked or belongs to a different account.

GET /v1/submissions/{submissionId}

Request

curl https://api.formtorch.com/v1/submissions/x9y8z7w6v5 \ -H "Authorization: Bearer YOUR_API_KEY"

Path parameters

ParameterDescription
submissionIdThe 10-character submission ID

Response

{ "id": "x9y8z7w6v5", "formId": "a1b2c3d4e5", "data": { "name": "Alex", "email": "alex@example.com", "message": "Hello there" }, "isTest": false, "isSpam": false, "isSuspicious": false, "spamScore": 0, "deliveryStatus": "delivered", "createdAt": "2025-03-15T14:30:00.000Z" }

Response fields

FieldTypeDescription
idstringSubmission ID
formIdstringParent form ID
dataobjectSubmitted field key-value pairs
isTestbooleanWhether this was a test submission (_test=true)
isSpambooleanWhether TorchWarden flagged this as spam
isSuspiciousbooleanWhether TorchWarden flagged this as suspicious
spamScoreintegerTorchWarden spam score
deliveryStatusstringEmail delivery status (pending, delivered, failed, skipped)
createdAtstringISO 8601 submission timestamp

Error responses

StatusCodeDescription
404not_foundNo submission with this ID in your account
Last updated on