Page tree

JSON

{
    "channel": "email",
    "db_id": 20,
    "email": "example@example.org",
    "priority": 4,
    "profile_id": "5a5b91d769d4265b958b9acb",
    "resource_id": 3,
    "status": "suspended",
    "token": "d58ee9e0af6747bd8ad7d4d9fa98acb6"
}

Object values

The status parameter overwrites the status of the subscription. It is recommended that you pass it only when you need to update the status.

Both word and numeric values are valid.

Word valueDescriptionNumber value
subscribedReady for messaging0
unsubscribedUnsubscribed1
complainedReported spam2
hardbouncedHard bounce, email probably invalid3
unconfirmedSubscription unconfirmed4
suspendedTemporarily unsubscribed5
invalidInvalid for a variety of reasons6
  • No labels