Can't create a variant via the API

Your software
My Mautic version is: 4.4.10
My PHP version is: 7.4.33
My Database type and version is: mysql

Your problem

I want to create an email variant via the API.

  • The docs say something about passing “variantParent” and “variantSettings” though these are not specified
  • I already know that the same docs for translationParent don’t work and I haven’t gotten these to work either. In case of the translationParent, templateTranslationParent can be passed. Passing “templateVariantParent” doesn’t seem to work here though.

Is there something available I can use that is simply undocumented?