For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Form

GraphQL endpoint: /company

Creates a new form (parent record only) with a title, optional description, visibility and intended-for settings. Call createFormVersion next to add the first version with its fields.

Query

mutation (
  $title: String!
  $description: String
  $visibility: [FormBuilderFormVisibility!]
  $intendedFor: [FormBuilderFormIntendedFor!]
) {
  createForm (
    title: $title
    description: $description
    visibility: $visibility
    intendedFor: $intendedFor
  ) {
    id
    title
    description
    visibility
    intendedFor
    formVersions {
      id
      version
      published
    }
  }
}

Variables

Response

Last updated

Was this helpful?