+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 Preference Category

Sie sind hier:
This method creates a contact preference category.

Request

POST https://api.maileon.com/1.0/contacts/preference_categories/

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

Payload

The root element must be named preference_category

Name Description
name The name of the contact preference category. Must not exceed 255 characters.
description The description. Must noch exceed 255 characters.

Example

POST https://api.maileon.com/1.0/contacts/preference_categories/
Authorization: Basic: XXXXXXXXXXXXXXXX 
Content-Type: application/vnd.maileon.api+xml; charset=utf-8
<preference_category>
    <name>E-Mail Marketing</name>
    <description>Contains preferences about EMM news</description>
</preference_category>


Status: 201 Created

Response Codes

HTTP status code Description
201 Created Category created successfully
400 Bad Request If there was an error in the submitted body.
Inhaltsverzeichnis