Use the Mautic API to manage your Twig Templates for advanced personalization.
twigtemplates
.{templateId}
(integer, required): The ID of the Twig Template you want to retrieve.name
(string, required): The name for the new template.template
(string, required): The Twig code for the template.description
(string, optional): A brief description of the template’s purpose.GET /api/twigTemplates/{templateId}
.
{templateId}
(integer, required): The ID of the Twig Template to edit.name
(string, optional): The updated name for the template.template
(string, optional): The updated Twig code.description
(string, optional): The updated description.{templateId}
(integer, required): The ID of the Twig Template to delete.