Create Form Version
GraphQL endpoint: /company
Creates a new version of an existing form with the given fields; field order follows the order of the list. The version number increments automatically, and the version stays unpublished unless published is set to true.
Query
mutation (
$formId: ID!
$fields: [FormVersionFieldInput!]!
$published: Boolean
) {
createFormVersion (
formId: $formId
fields: $fields
published: $published
) {
id
version
published
formVersionFields {
label
type
order
}
}
}
Variables
Response
Last updated