Docs
APi submissions

APi submissions

Lucid forms form submissions using API.


Integrate with API

You can use Axios, Fetch or any other HTTP client to integrate Lucid Forms with your API.

💡

Server side form submissions will bypass the secure domains, since servers don’t have origin headers.

Using Fetch

const response = await fetch("https://app.lucidforms.co/s/[form-id]", {
  method: "POST",
  body: JSON.stringify({
    name: "John Doe",
    email: "[email protected]",
  }),
});

Using Axios

const response = await axios.post(
  "https://app.lucidforms.co/s/[form-id]",
  {
    name: "John Doe",
    email: "[email protected]",
  }
);