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

One endpoint. No secret to hide. Nothing to deploy.

The public intake API is unauthenticated by design, because a form on a static site has nowhere to keep a secret. It is protected by domain verification, origin checks, CAPTCHA and rate limits instead.

The developer site at developers.contactusiq.com is a placeholder until the docs ship.

The intake contract

Every sample, embed and plugin targets this one contract.

intake contractHTTP
POST https://api.contactusiq.com/s/{formPublicId}
Content-Type: application/x-www-form-urlencoded | multipart/form-data | application/json
Reserved fields: _honeypot, _redirect, _subject, _intent, _rating, _page, cf-turnstile-response
Responses: 200 (accepted or silently rejected), 303 (redirect), 400, 404, 413, 429

Responses

200
Accepted, or silently rejected. Spam and origin rejections return 200 so bots learn nothing; the true outcome is in the inbox. With Accept: application/json the body is {ok, id}.
303
Redirect to the form's thank-you URL.
400
Malformed request.
404
Unknown or unpublished form.
413
Body too large (64 KB without attachments).
429
Rate limited, with Retry-After.

Request rules

  • Origin or Referer must match a verified domain of the form, unless the form explicitly allows any origin for native apps.
  • An optional Idempotency-Key header or _idempotency field de-duplicates double clicks for 10 minutes.
  • The client IP is taken from the platform's trusted header, never from user-supplied headers.
  • JSON submissions from browsers need CORS; OPTIONS /s/{formPublicId} answers with the form's verified domains only. HTML posts do not need it.
  • Field names are free-form; the reserved names above are the only ones the service interprets.

Three embed flavours

Pick the one that matches how the site is built. All three hit the same endpoint.

1. Plain HTML form

action and method="POST" with a hidden honeypot. Works with JavaScript disabled. Turnstile is added as a managed widget if the page includes the script tag.

2. JavaScript embed

One script tag and one div: GET /f/{formPublicId}/embed.js renders the form in your workspace theme, loads Turnstile, submits by fetch and shows an inline thank-you.

3. JSON fetch

For React and Next.js sites: POST JSON with Accept: application/json, and use GET /f/{formPublicId}/schema to build your own UI in sync with the form definition.

contact.htmlHTML
<form action="https://api.contactusiq.com/s/au_xxxxxxx" method="POST">
  <label>Name <input name="name" required></label>
  <label>Email <input type="email" name="email" required></label>
  <label>Message <textarea name="message" required></textarea></label>

  <!-- honeypot: humans never see it, bots fill it -->
  <input type="text" name="_honeypot" tabindex="-1" autocomplete="off" hidden>

  <!-- invisible CAPTCHA (optional; the form still works without it) -->
  <div class="cf-turnstile" data-sitekey="[YOUR TURNSTILE SITE KEY]"></div>

  <button type="submit">Send</button>
</form>

Also available: GET /f/{formPublicId}/widget.js for the floating feedback panel, and a management API at app.contactusiq.com/v1 with a workspace API key for domains, forms, submissions, webhooks and usage.

Copy-paste samples

Each sample in the samples folder has a README with the exact steps and the form id placeholder au_xxxxxxx: plain HTML, JavaScript embed, JSON fetch, React, Next.js, Astro, WordPress and curl. An OpenAPI description lives with the developer site.

Create a form and get your endpoint

The form id in the snippet is issued when you create the form in the dashboard.