Skip to Content

Get Form

Retrieves a single form by its ID.

GET /v1/forms/{formId}

Request

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

Path parameters

ParameterDescription
formIdThe 10-character form ID

Response

{ "id": "a1b2c3d4e5", "name": "Contact Form", "projectId": "p9q8r7s6t5", "endpoint": "https://formtorch.com/f/a1b2c3d4e5", "submissionCount": 142, "spamCount": 7, "webhooks": [ { "id": "wh1a2b3c4d", "url": "https://yoursite.com/api/webhooks/formtorch", "createdAt": "2025-02-01T08:00:00.000Z" } ], "createdAt": "2025-01-10T09:00:00.000Z", "updatedAt": "2025-03-01T14:22:00.000Z" }

Response fields

FieldTypeDescription
idstringForm ID
namestringForm display name
projectIdstringParent project ID
endpointstringFull submission endpoint URL
submissionCountintegerNon-spam submission count
spamCountintegerSpam submission count
webhooksarrayConfigured webhook endpoints
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 last updated timestamp

Error responses

StatusCodeDescription
404form_not_foundNo form with this ID in your account
Last updated on