FormLoom

API reference

The submit endpoint and management API.

POST /api/submit/:accessKey

Accepts JSON, urlencoded, or multipart/form-data. Returns { success, message, id }. Send Accept: application/json to get JSON instead of a redirect.

  • redirect — URL to redirect to after a successful non-AJAX submit
  • subject — override the notification email subject
  • from_name — override the sender display name
  • replyto — set the reply-to address
  • cc — CC the notification email
  • botcheck — honeypot field (leave empty)

POST /api/submit

Same as above but the key is read from an `access_key` field in the body.

POST /api/keys

Mint a no-account access key tied to an email. Returns { accessKey, endpoint, verificationSent }.

Response shape

json
{
  "success": true,
  "message": "Thanks — your submission was received.",
  "id": "b3c1…"
}
API reference — Docs · FormLoom