Approved-form backend
This service accepts submissions only for admin-approved forms and only from exact origins attached to those forms.
Public flow
- Your frontend requests a short-lived submit session from
/api/public/forms/:publicID/session. - The backend checks the exact
Originheader against the form allowlist. - The frontend posts JSON fields to
/api/public/forms/:publicID/submissionswith the one-time token inX-Form-Session.