chatformdocs
API referenceV1

Publish the working document as a new immutable version

POST
/v1/forms/{id}/publish

Authorization

AuthorizationBearer <token>

A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/forms/string/publish"
{  "ok": true,  "version": 0,  "versionId": "string",  "stripped": [    null  ]}