chatform
API referenceV1

Restore a published version into the working document

Writes the draft, not the live form — respondents see nothing change until you publish. Returns the restored document and what it changed.

POST
/v1/forms/{id}/versions/{version}/restore

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
version*string

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/forms/string/versions/string/restore"
Empty