WaitlistContactUsIQ is in early access and provided as is. Use at your own risk.Join the waitlist

Integrations

One page per stack. Each repeats the minimal snippet and links to the copy-paste sample folder on GitHub.

Every integration targets the same endpoint, POST https://api.contactusiq.com/s/{formPublicId}, so the choice is about how the page is built, not about the API. All samples use the placeholder form id au_xxxxxxx and the Turnstile site key placeholder 0x4AAAAAAA_PLACEHOLDER; replace both with the values on your form's Snippet screen.

StackGuideSample folderShape of the integration
Plain HTMLPlain HTML formsamples/html-formA form with an action URL. No JavaScript required.
Any pageJavaScript embedsamples/js-embedOne script tag and one div; fields and theme come from the dashboard.
Vanilla JSJSON fetchsamples/json-fetchfetch with JSON, inline thank-you, handles 400 and 429.
ReactReactsamples/reactA hooks-only component with Turnstile via the explicit API.
Next.jsNext.jssamples/nextjsApp Router page plus client component; optional proxy route.
AstroAstrosamples/astroA .astro page with the HTML form, or the embed with is:inline.
WordPressWordPressapps/wp-plugin and samples/wordpress-shortcodeThe plugin (block, shortcode, widget, Contact Form 7 adapter) or a one-file shortcode.
Webflow, Squarespace, WixSite buildersguide onlyCustom-code embed of the HTML form or the script tag.
Any HTTP clientcurlsamples/curlForm-encoded, JSON, multipart, idempotency key, honeypot negative test.

Choosing a flavour

  • Plain HTML form when the site is static, you want zero JavaScript, or you want a redirect to your own thank-you page. Works with JavaScript disabled.
  • JavaScript embed when you want the form's fields, labels and theme managed in the dashboard so changes appear without a deploy.
  • JSON fetch (including the React and Next.js components) when the page is an app that should stay put and show an inline result. JSON posts from a browser are cross-origin, so the page must be served from a verified domain for the CORS preflight to succeed.

What every integration needs

  1. A verified domain in the workspace and a published form on it.
  2. The form's public id, and the Turnstile site key if the page renders Turnstile itself.
  3. An empty hidden _honeypot field (the embed and widget add their own).
  4. To be served over HTTPS from the verified domain when testing. localhost and file:// are never verified; a form can be set to allow any origin for development.