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

Get Unsubscription Reasons

Sie sind hier:
< Alle Themen
 
API version 1.0.0
Returns a page of unsubscriptions.

GET https://api.maileon.com/1.0/reports/unsubscriptions/reasons

 

Attributes

ParameterDefaultDescription
from_dateIf provided, only the unsubscriptions after or equal (including) the given date will be returned. The value of from_date must be a numeric value representing a point in time milliseconds after January 1, 1970 00:00:00
to_dateIf provided, only the unsubscriptions before (excluding) the given date will be returned. The value of to_date must be a numeric value representing a point in time milliseconds afterJanuary 1, 1970 00:00:00
ordercountThe order of results. Possible values are: “count” or “name”.
asctrueDescribes if results will be ordered ascending (true) or descending (false).
page_index1The index of the result page. The index must be greater or equal to 1.
page_size100The maximum count of items in the result page. If provided, the value of page_size must be in the range 1 to 1000.

Reply

ParameterOptionalDescription
unsubscription_reasonsfalseThe wrapper structure for a list of unsubscribe_reasons
unsubscription_reasonfalseThe wrapper structure of a single unsubscription reason
reasontrueThe reason, can be one of
– too_many_messages
– no_demand
– change_of_channel
– change_of_interest
– technical_reasons
or a custom reason.
counttrueThe count how often this reason was counted.

 

Example

GET https://api.maileon.com/1.0/reports/unsubscriptions/reasons?page_index=1&page_size=10
Authorization: Basic XXXXXXXXXXXXXXX
Accept: application/vnd.maileon.api+xml; charset=utf-8
Status: 200 OK
Content-Type: application/vnd.maileon.api+xml
Link: ...
X-Pages: ...
X-Items: ...
<unsubscription_reasons><unsubscription_reason><reason>no_demand</reason><count>1</count></unsubscription_reason></unsubscription_reasons>

 

Inhaltsverzeichnis

Bleiben Sie Up-to-Date und profitieren Sie von spannenden News und Aktionen.

Maileon ist ein Produkt der XQueue GmbH

Newsletter Pop-Up