+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 Contactfilter

Sie sind hier:

Create a new contactfilter.

POST https://api.maileon.com/1.0/contactfilters/v2

Header

Name Value
Content-Type application/json
Accept application/json

URL Parameters

Parameter Default Description
createTargetGroup false If true, a targetgroup will be created that uses this filter. The ID will also be returned.

Body

As specified in the schema documentation.

Response

Status Code Description
201 – Created If everything is OK, the filter is created and the ID of the created contactfilter and, if requested, the targetgroup are returned.
400 – Bad request If the submitted json contactfilter has an invalid format or invalid data types
404 – Not Found If e.g. a rule based on contactfilter affiliation is submitted and the specified filter does not exist

In case of an error, the response JSON will contain a suitable message, see: error documentation.

Example

POST https://api.maileon.com/1.0/contactfilters/v2
Content-type: application/json
Accept: application/json
Authorization: [XXX]

{
  // JSON according to contactfilter schema
}


Status: 201 Created

{
  "target_group_id": 30,
  "contact_filter_id": 2773
}

 

Inhaltsverzeichnis