Skip to main content

Subscription status

JSON

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

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