My Mautic version is: 4.4.9
My PHP version is: 8.0.29
My Database type and version is: 5.7.23- |Doctrine driver|pdo_mysql|
My problem is: I am sending my request through rest api with an array as following(according to Mautic doc):
$array = [ ‘name’ => testcampaign->name, ‘description’ => “testcampaign”->description, ‘isPublished’ => 0 ];
But I get an error 400 bad request: At least one event is required. Use the Launch Campaign Builder.
I am using Mautic rest api create a campaign end point to create the complete workflow as shown in attached screenshot below. Is there a restful way to create a Campaign for Mautic along with array of data using Rest api?