Success redirects
Configure a safe thank-you URL for native HTML form submissions.
Native HTML submissions receive a 303 See Other redirect after durable acceptance. JSON clients receive a response body instead.
Configure the URL
Set the form’s success URL to an HTTPS URL on an allowed website origin. Postvia validates the URL when it is saved; it never redirects to a URL supplied by the visitor.
If no success URL is configured, the browser redirects to the hosted thank-you page:
https://api.postvia.dev/thanks
Design the page
- Confirm the enquiry was received without claiming email delivery.
- Keep the page accessible and usable without a session.
- Provide a link back to the customer website.
- Do not display private submission fields.
- Avoid automatic redirects that trap keyboard users.
Common problems
| Symptom | Cause |
|---|---|
| Redirect goes to the hosted page | No success URL configured. |
| Save rejected | URL is not HTTPS or not on an allowed origin. |
| 303 but browser shows an error | The destination page is unavailable. |
| Integration posts JSON but expects redirect | Send an HTML Accept header or remove Accept: application/json. |