Skip to main content

Get all unsubscriptions

Retrieve all the unsubscriptions available for your account.

GET https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/unsubscriptions

GET Parameters​

NameInDescriptionRequiredTypeExample
AccountIDPathThe account guidTrueGuidA8C062E4-ECFD-48D0-89B1-A37D2622B7A9
FilterQueryThe email address to filter onFalse (default null)StringJohn
SkipQueryThe amount of unsubscriptions to skipFalse (default 0)Int0
TakeQueryThe amount of unsubscriptions to takeFalse (default 1000)Int1000
X-CM-PRODUCTTOKENHeaderYour product tokenTrueGuidC24A5029-37DD-4161-9728-F80D8639588E

Responses​

Http statusDescription
200Successful operation
400Bad request
Example response
[
{
"ID": "9df4a027-1123-4d1a-b3ab-277bd9327e48",
"AccountID": "a8c062e4-ecfd-48d0-89b1-a37d2622b7a9",
"EmailAddress": "[email protected]",
"UnsubscriptionType": 1,
"CreatedOn": "2017-08-03T09:49:19.97",
"CreatedOnUtc": "2017-08-03T08:49:19.97Z",
"ModifiedOn": "2017-08-03T09:49:19.97",
"ModifiedOnUtc": "2017-08-03T08:49:19.97Z"
}
]