Submit a form
Records a standalone form submission. Optionally attach it to a chat
conversationId, dedupe retries with a clientSubmissionId, and carry
a spam honeypot in _hp. Returns 201 for a new submission, 200 when
the clientSubmissionId was already seen (duplicate).
Authorizations
Public widget/form key (pk_live_…). Exchanged for a session token by
POST /api/public/v1/chat/sessions. Public Forms operations accept the
same key directly, supplied via this publicKey query param, the
X-Comerix-Public-Key header (publicFormKey scheme), or in the JSON
body.
Path Parameters
The form's stable code or its UUID.
Query Parameters
Body
Submitted values keyed by field name.
Anonymous visitor token, for stitching submissions to a visitor.
Attach the submission to a chat conversation.
Client-generated id for idempotent retries; a repeat returns the original result with status duplicate.
Origin channel label (e.g. web).
BCP-47 locale of the submission.
Honeypot field — must be empty; a non-empty value marks the submission as spam (rejected).
Public gateway key, if not sent as a query param or header.