Create a campaign API returns 422

@bar_ban - this one is a bit trickier, but if you take a look at you will see that the top level is the campaign key, so you need to do it like:
campaign[name] = 1234;
campaign[subject] = 'aaaaa';
campaign[template][template_uid] = 1234;

@ghimes - Please also fix the typo in the docs.

I'm struggling to create a campaign where I sent the HTML through campaign[template][content] - with simple <body> Hello world </body> campaign is not delivered.

campaign[template][auto_plain_text] is set to No. Tried both.

is it possible to send full HTML email template through campaign[template][content]?
Last edited: