Create Campaign
Create a new campaign.
A campaign links a mailing list with a specific mail piece configuration (letter, postcard, cheque, self-mailer, or snap pack) to send bulk mail. Only one collateral type can be set per campaign.
Upon creation, the campaign enters the drafting status while assets are validated.
Headers
Request body
Response
The newly created campaign in drafting status.
Changes
Changed in 3 of the 7 revisions of this API.81324
- ▲
removed
subschema #1subschema #2from thecheque/allOf[CampaignChequeFieldsCreate]/letterPDFrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theletter/allOf[CampaignLetterFieldsCreate]/attachedPDF/allOf[AttachedPDF]/filerequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theletter/allOf[CampaignLetterFieldsCreate]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from thepostcard/allOf[CampaignPostcardFieldsCreate]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from theselfMailer/allOf[CampaignSelfMailerFieldsCreate]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed
subschema #1subschema #2from thesnapPack/allOf[CampaignSnapPackFieldsCreate]/pdfrequest propertyanyOflistrequest-property-any-of-removed
- ▲
added
BinaryFilesubschema #1to theletter/allOf[CampaignLetterFields]/attachedPDF/allOf[AttachedPDF]/fileresponse propertyoneOflist for the response status201response-property-one-of-added
- ○
added the media type
multipart/form-datato the request bodyrequest-body-media-type-added
- ○
added
BinaryFilesubschema #1to thecheque/allOf[CampaignChequeFieldsCreate]/letterPDFrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theletter/allOf[CampaignLetterFieldsCreate]/attachedPDF/allOf[AttachedPDF]/filerequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theletter/allOf[CampaignLetterFieldsCreate]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to thepostcard/allOf[CampaignPostcardFieldsCreate]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to theselfMailer/allOf[CampaignSelfMailerFieldsCreate]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
added
BinaryFilesubschema #1to thesnapPack/allOf[CampaignSnapPackFieldsCreate]/pdfrequest propertyoneOflistrequest-property-one-of-added
- ○
removed
subschema #1subschema #2from theletter/allOf[CampaignLetterFields]/attachedPDF/allOf[AttachedPDF]/fileresponse propertyanyOflist for the response status201response-property-any-of-removed
- ▲
- ▲
added
PostcardPremiumPaperIDto thepostcard/allOf[CampaignPostcardFieldsCreate]/paperrequest propertyallOflistrequest-property-all-of-added
- ●
removed
PremiumPaperIDfrom thepostcard/allOf[CampaignPostcardFieldsCreate]/paperrequest propertyallOflistrequest-property-all-of-removed
- ○
added the new optional request property
letter/allOf[CampaignLetterFieldsCreate]/papernew-optional-request-property
- ○
added the optional property
letter/allOf[CampaignLetterFields]/paperto the response with the201statusresponse-optional-property-added
- ○
added
PostcardPremiumPaperIDto thepostcard/allOf[CampaignPostcardFields]/paperresponse propertyallOflist for the response status201response-property-all-of-added
- ○
removed
PremiumPaperIDfrom thepostcard/allOf[CampaignPostcardFields]/paperresponse propertyallOflist for the response status201response-property-all-of-removed
- ▲
- ●
removed the request property
chequeProfilerequest-property-removed
- ●
removed the request property
letterProfilerequest-property-removed
- ●
removed the request property
postcardProfilerequest-property-removed
- ●
removed the request property
selfMailerProfilerequest-property-removed
- ●
removed the optional property
chequeProfilefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
letterProfilefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
postcardProfilefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
selfMailerProfilefrom the response with the201statusresponse-optional-property-removed
- ●
added the new
internal_server_errorenum value to theerror/typeresponse property for the response status500response-property-enum-value-added
- ●
added the new
not_found_errorenum value to theerror/typeresponse property for the response status404response-property-enum-value-added
- ●
added the new
rate_limit_exceeded_errorenum value to theerror/typeresponse property for the response status429response-property-enum-value-added
- ●
added the new
validation_errorenum value to theerror/typeresponse property for the response status400response-property-enum-value-added
- ○
added the new optional request property
chequenew-optional-request-property
- ○
added the new optional request property
letternew-optional-request-property
- ○
added the new optional request property
postcardnew-optional-request-property
- ○
added the new optional request property
selfMailernew-optional-request-property
- ○
added the new optional request property
snapPacknew-optional-request-property
- ○
added
subschema #1subschema #2to the response bodyanyOflist for the response status401response-body-any-of-added
- ○
removed
subschema #1subschema #2from the response bodyanyOflist for the response status401response-body-any-of-removed
- ○
added the optional property
chequeto the response with the201statusresponse-optional-property-added
- ○
added the optional property
letterto the response with the201statusresponse-optional-property-added
- ○
added the optional property
postcardto the response with the201statusresponse-optional-property-added
- ○
added the optional property
selfMailerto the response with the201statusresponse-optional-property-added
- ○
added the optional property
snapPackto the response with the201statusresponse-optional-property-added
This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●