+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 Contact Filter

Sie sind hier:


Create a contact filter from a JSON description. Details on data format and limitations can be found here: https://xqueue.atlassian.net/wiki/spaces/DEV/pages/18612225/Creating+and+Updating+Contactfilters+Using+the+REST+API

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


  • 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.


As specified in format documentation.


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.


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

  "target_group_id": 30,
  "contact_filter_id": 2773

Status: 201 Created