Connect
Connect a website
Every website or tool that sends submissions is a source. Each source has its own endpoint address, so you can pause or replace one without touching the others.
Your endpoint
POST https://switchyard-ccn.modulify.website/api/in/YOUR_SOURCE_KEYAdd a source in the form's Connect tab or on the Sources page. Formera gives it a key, shows the full address with a copy button, and generates a snippet for its platform. New endpoint URL replaces the key: the old address stops working right away, so update your website at the same time.
Match the field names
Your website must send each answer under the key of its field. The Connect tab lists every name, its type and what it should look like. Answers with names the form does not know are still stored, and with Learn new fields automatically on, they are added to the form as new fields.
Platform guides
Webflow
Point a native Webflow form at your endpoint.
- In the Webflow Designer, select the Form Block and open its settings.
- Set Action to your endpoint URL and Method to POST.
- Give every input a Name that matches a field key listed below.
- Publish the site and send one test submission.
Framer
Send Framer form submissions to a webhook.
- Select your form in Framer and open the form's settings.
- Choose to send submissions to a webhook and paste your endpoint URL.
- Name each input after a field key listed below.
- Publish and submit the form once to see it arrive.
WordPress
Use the HTML snippet or your form plugin webhook.
- Add the HTML snippet below to a Custom HTML block, or paste the endpoint URL into your form plugin's webhook settings.
- Keep every input name exactly the same as the field keys below.
- Update the page and send one test submission.
Wix
Embed the HTML snippet with an Embed HTML element.
- Add an Embed HTML element where the form should appear.
- Paste the HTML snippet below into it.
- Publish the site and send one test submission.
Squarespace
Paste the HTML snippet into a Code block.
- Add a Code block to the page.
- Paste the HTML snippet below and save.
- Publish and send one test submission.
HTML form
Any website: set the form action to your endpoint.
- Set your form's action to the endpoint URL and its method to POST.
- Name each input after a field key listed below.
- Add a hidden _redirect input if visitors should land on your own thank-you page.
JavaScript or API
Send JSON from your app, backend or a custom form.
- Send a POST request with a JSON body to the endpoint URL.
- Use the field keys below as JSON property names.
- A 200 response means the submission was accepted and your flows are running.
Zapier or Make
Forward data from any app that Zapier or Make supports.
- Add a Webhooks step that sends a POST request at the end of your Zap or scenario.
- Paste the endpoint URL and map your data to the field keys below.
- Run it once to send a test submission.
Plain HTML
<form action="https://switchyard-ccn.modulify.website/api/in/YOUR_SOURCE_KEY" method="POST" enctype="multipart/form-data">
<label for="email">Email</label>
<input id="email" name="email" type="email" required>
<label for="topic">What can we help with?</label>
<select id="topic" name="topic" required>
<option value="sales">Sales</option>
<option value="support">Support</option>
</select>
<label for="brief">Brief</label>
<input id="brief" name="brief" type="file">
<!-- Where visitors land afterwards (optional) -->
<input type="hidden" name="_redirect" value="https://yourcompany.com/thanks">
<!-- Spam trap: keep it hidden and empty -->
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off" style="display:none">
<button type="submit">Send</button>
</form>After a classic form post, visitors go to the _redirect address, then the form's Redirect to setting, and otherwise back to the page they came from with ?submitted=1 added, so your page can show a thank you message.
JavaScript
const response = await fetch("https://switchyard-ccn.modulify.website/api/in/YOUR_SOURCE_KEY", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ email: "jane@example.com", topic: "sales", interests: ["speed", "price"] })
})
const result = await response.json()
if (!result.ok) {
// result.message says what went wrong, in words you can show
}Requests from browsers are answered with the CORS headers they need, as long as the page is one of the form's allowed websites. See Send a submission for every option.