Get data retention

This method allows you to get the values of your data retention. Each value corresponds to the data retention period. Except for contact lists, where the value corresponds to the period of inactivity before deletion. A list is inactive if it is not modfied or used to create a campaign.




GET /retention HTTP/1.1
Authorization: Bearer your.token
Accept: application/json

Result Format

    "status": 1,
    "message": "OK",
    "data_retention": {
      "mts_retention": "6m",
      "lists_retention": "14m",
      "surveys_retention": "26m",
      "mos_retention": "14m",
      "campaigns_retention": "14m",
      "lookups_retention": "6m"

<?xml version="1.0" encoding="UTF-8"?>