FormAS

From the team at HoardSpace

API Docs

Below is a basic documentation of FormAS API service

1

Create a new form by clicking on the Create new form button. This will provide you with an API Key for your use

2

The form that you create in your frontend project (HTML, React, Vue, Angular, Svelte) must send a POST request

3

API endpoint is -
https://www.formas.space/api/submit/{FORMAS_API_KEY}

Examples

1

1<form action="https://www.formas.space/api/submit/${FORMAS_API_KEY}" method="POST"> 2 <input type="text" name="name" /> 3 <input type="text" name="email" /> 4 <button type="submit">Submit</button> 5</form>

2

1<form 2 onSubmit={async (e) => { 3 e.preventDefault(); 4 5 const formData = new FormData(e.currentTarget); 6 7 const name = formData.get("name"); 8 const email = formData.get("email"); 9 10 try { 11 const res = await axios.post("https://www.formas.space/api/submit/${FORMAS_API_KEY}", { 12 name, 13 email, 14 }); 15 console.log("Form submitted successfully: ", res.status); 16 } catch (err) { 17 console.log("Error in submitting form: ", err); 18 } 19 }} 20> 21 <input type="text" name="name" /> 22 <input type="text" name="email" /> 23 <button type="submit">Submit</button> 24</form>; 25

Rate Limiting

1

20 requests per IP per Form

Spam/Bot Protection

1

Basic bot detection for common automated requests

2

Add a Honeypot field to the form manually

1<input 2 type="text" 3 name="_website" 4 tabindex="-1" 5 autocomplete="off" 6 hidden 7/>

If this field is filled, the submission will be silently discarded. Most spam bots automatically fill hidden fields, while real users never see them.

Custom Redirection

Add the below code inside your form tag to set your own redirection URL on successful form submission

1<input type="hidden" name="_redirect" value="your-redirect-url" />

Custom Email Subject

Add the below code inside your form tag to set your own email subject for the email received on a successful form submission

1<input type="hidden" name="_subject" value="your-email-subject" />

© 2026 HoardSpace Bookings Pvt Ltd