Creating a campaignAsk AIpost https://emailapi.routee.net/campaignsTo create a new campaignQuery Paramssender_namestringSender namesender_emailstringSender email addresssubjectstringEmail subjectbodystringThe email body, encoded in base64list_idstringMailing list IDnamestringCampaign name (an optional parameter)typestringPossible value - "draft" (a newsletter will be created as a draft). An optional parameter.attachmentsstringAttached files, a serialized array in which the key is the name of the attachment, and the value is the content of the attachment (an optional parameter)HeadersContent-TypestringrequiredDefaults to application/jsonAuthorizationstringrequiredDefaults to Bearer {access_token}Responses 200200 400400Updated over 6 years ago