+49 69 83008980 service@xqueue.com
Benötigen Sie Hilfe?

Im Maileon Help-Center finden Sie umfassende Dokumentationen zu unserem System.

Beliebte Suchanfragen: Importe | Rest-API | Integrationen | SMS

Create Mailing

Sie sind hier:

Creates a regular mailing and returns its id. The created mailing will include all the default settings of the account such as the default template, the default mailing list (target group), sender address etc.
Since September 2025 it is also possible to provide more basic information to avoid having to call many methods e.g. setPreviewText, etc.

POST https://api.maileon.com/1.0/mailings

Attribute

Parameter Default Description
name Name of the mailing. The name must be unique within the account. The name length must be in the range from 3 to 64 and should only contain alphanumeric characters or spaces.
subject The subject of the mailing. The length of the subject must not exceed 1023 characters. The subject is not allowed to be empty. ISO Control characters are forbidden in the subject.
type regular The type of the mailing. Can be one of ‘doi’, ‘trigger’ and ‘regular’.
editorVersion The version of the CMS to create the mailing for. Can be ‘1’ or ‘v1’ for CMS1 or ‘2’ or ‘v2’ for CMS2. If no value is given and CMS2 is active, the mailing will be created for CMS2.
targetGroupId Sets the target group id of the mailing. Can only be used for regular mailings, see Mailing – Set Target Group Id.
sender Set the sender address. Same conditions as in Mailing – Set Sender Address apply.
senderAlias Sets the sender alias of the mailing. See Mailing – Set Sender Alias.
recipientAlias Sets the recipient alias of the mailing. See Mailing – Set Recipient Alias.

Example

POST https://api.maileon.com/1.0/mailings?name=my+mailing&subject=my+subject
Content-Type: application/vnd.maileon.api+xml; charset=utf-8

Status: 201 OK
Content-Type: application/vnd.maileon.api+xml; charset=utf-8

<id>4317</id>
Inhaltsverzeichnis