Getting Started

Simple installation

Step 1: Generate form token

Click here to generate your form token. It will arrive in your email.

Step 2: Set up the HTML form

On your website, create a form. Connect it to the FormFlex API by using the "" attribute. Include the form token you generated earlier as a hidden field as shown below:

<form action="https://api.formflex.dev/email/send-email" method="POST">

    <input type="hidden" name="formToken" value="GENERATED_FORM_TOKEN">
    <input type="text" name="firstName" required>
    <input type="text" name="lastName" required>
    <input type="email" name="email" required>
    <textarea name="message" required></textarea>
    <button type="submit">Submit Form</button>

</form>

Use the nameformToken for the hidden input type to ensure form submission works.

Step 3: Done

Last updated