Fetch a render-safe form schema
Returns the public schema for an embeddable form — its fields, labels,
validation hints, and submit label — so a client can render the form
without the admin builder. The key’s form scope must cover the
requested form. The key may be supplied as the publicKey query param,
the X-Comerix-Public-Key header, or a publicKey body field.
Each call counts a “mount” toward the key’s usage metering and the
response is not cacheable. For embeds that poll or refresh the schema,
prefer the cacheable, non-metered sibling
GET /api/public/v1/forms/{codeOrId}/schema.
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
Public gateway key. Alternatively send X-Comerix-Public-Key.
Optional BCP-47 locale used to localise field labels/help.