Download OpenAPI specification:Download
With this API, you can control your outgoing messages using suppression and allow lists.
The suppression list helps you with honoring the ISPs’ feedback to preserve sending IP reputation while allow list helps you ensure that you send only to those email addresses which are in the allowed list , typically to ensure that you don't send mails to customers from your development sandbox.
type | string For suppressed entities use 'client', for allowed entities use 'allowed'. Default is 'client' |
orderby | string Default: "-creationdate" Sort parameter and direction for sorting the response. Add the prefix as -/+ for desc/asc. If unspecified, the response will be sorted in desc order. Ex. orderby=+creationdate. |
limit | integer Default: 20 Limit response to a specified positive number of objects. Ex. limit=10 |
start | string Used for pagination. Specifies the criteria for next page with respect to the property specified in orderby. Ex. start=1631739725150. |
property | Array of strings Optional property filters. Please refer to api guidelines for filtering support in APIs. Filtering is supported on the following properties: creationdate, channel Ex. property=creationdate<1631739725150 |
A list of suppressed or allowed entities
{- "_page": {
- "orderby": "-entityvalue",
- "next": "bademailtest10013@bademail.com",
- "count": 1
}, - "items": [
- {
- "id": "91acd0b4-753b-4366-8893-d5440c4d9b15",
- "entity": {
- "type": "email",
- "entityValue": "bademailaddress@domain.com"
}, - "suppressed": {
- "type": "MANUAL",
- "user": "myemail@myemail.com",
- "comment": "deemed to be a fake",
- "date": "1631739725150"
}, - "creationDate": "1631739725150",
- "lastModifiedDate": "1631739725150",
- "status": "active",
- "listType": "client",
- "client": {
- "imsOrgId": "string",
- "sandboxId": "string"
}, - "bounceState": {
- "softCount": 1,
- "bounceEvents": [
- {
- "messageId": "string",
- "date": "2016-08-29T19:12:33.001Z",
- "message": "Mailbox is full",
- "bounceType": "SOFT"
}
]
}
}
], - "_links": {
- "self": {
- "href": "/config/suppression/addresses?type=CLIENT&limit=20&orderby=entityvalue"
}, - "next": {
- "href": "/config/suppression/addresses?type=CLIENT&limit=20&start=bademailtest10013@bademail.com&orderby=entityvalue"
}
}
}
The JSON for the entity
The newly added entity
[- {
- "entity": {
- "type": "email",
- "entityValue": "bademailaddress@domain.com"
}, - "comment": "Known bad email address",
- "user": "myusername@corp.com"
}
]
[- {
- "id": "91acd0b4-753b-4366-8893-d5440c4d9b15",
- "entity": {
- "type": "email",
- "entityValue": "bademailaddress@domain.com"
}, - "suppressed": {
- "type": "MANUAL",
- "user": "myemail@myemail.com",
- "comment": "deemed to be a fake",
- "date": "1631739725150"
}, - "creationDate": "1631739725150",
- "lastModifiedDate": "1631739725150",
- "status": "active",
- "listType": "client",
- "client": {
- "imsOrgId": "string",
- "sandboxId": "string"
}
}
]
Returning a specific suppression or allowed entity
{- "id": "91acd0b4-753b-4366-8893-d5440c4d9b15",
- "entity": {
- "type": "email",
- "entityValue": "bademailaddress@domain.com"
}, - "suppressed": {
- "type": "MANUAL",
- "user": "myemail@myemail.com",
- "comment": "deemed to be a fake",
- "date": "1631739725150"
}, - "creationDate": "1631739725150",
- "lastModifiedDate": "1631739725150",
- "status": "active",
- "listType": "client",
- "client": {
- "imsOrgId": "string",
- "sandboxId": "string"
}, - "bounceState": {
- "softCount": 1,
- "bounceEvents": [
- {
- "messageId": "string",
- "date": "2016-08-29T19:12:33.001Z",
- "message": "Mailbox is full",
- "bounceType": "SOFT"
}
]
}
}
type | string For suppressed entities use 'client', for allowed entities use 'allowed'. Default is 'client' |
orderby | string Default: "-creationdate" Sort parameter and direction for sorting the response. Add the prefix as -/+ for desc/asc. If unspecified, the response will be sorted in desc order. Ex. orderby=+creationdate. |
limit | integer Default: 20 Limit response to a specified positive number of objects. Ex. limit=10 |
start | string Used for pagination. Specifies the criteria for next page with respect to the property specified in orderby. Ex. start=1631739725150. |
property | Array of strings Optional property filters. Please refer to api guidelines for filtering support in APIs. Filtering is supported on the following properties: creationdate, channel Ex. property=creationdate<1631739725150 |
A list of suppressed or allowed entities
{- "_page": {
- "orderby": "-entityvalue",
- "next": "bademailtest10013@bademail.com",
- "count": 1
}, - "items": [
- {
- "id": "91acd0b4-753b-4366-8893-d5440c4d9b15",
- "entity": {
- "type": "domain",
- "entityValue": "baddomain.com"
}, - "suppressed": {
- "type": "MANUAL",
- "user": "myemail@myemail.com",
- "comment": "deemed to be a fake",
- "date": "1631739725150"
}, - "creationDate": "1631739725150",
- "lastModifiedDate": "1631739725150",
- "status": "active",
- "listType": "client",
- "client": {
- "imsOrgId": "string",
- "sandboxId": "string"
}
}
], - "_links": {
- "self": {
- "href": "/config/suppression/addresses?type=CLIENT&limit=20&orderby=entityvalue"
}, - "next": {
- "href": "/config/suppression/addresses?type=CLIENT&limit=20&start=bademailtest10013@bademail.com&orderby=entityvalue"
}
}
}
The JSON for the entity
The newly added entity
[- {
- "entity": {
- "type": "domain",
- "entityValue": "baddomain.com"
}, - "comment": "Known bad domain",
- "user": "myusername@corp.com"
}
]
[- {
- "id": "91acd0b4-753b-4366-8893-d5440c4d9b15",
- "entity": {
- "type": "email",
- "entityValue": "bademailaddress@domain.com"
}, - "suppressed": {
- "type": "MANUAL",
- "user": "myemail@myemail.com",
- "comment": "deemed to be a fake",
- "date": "1631739725150"
}, - "creationDate": "1631739725150",
- "lastModifiedDate": "1631739725150",
- "status": "active",
- "listType": "client",
- "client": {
- "imsOrgId": "string",
- "sandboxId": "string"
}
}
]
A list of suppressed or allowed entities
{- "id": "91acd0b4-753b-4366-8893-d5440c4d9b15",
- "entity": {
- "type": "domain",
- "entityValue": "baddomain.com"
}, - "suppressed": {
- "type": "MANUAL",
- "user": "myemail@myemail.com",
- "comment": "deemed to be a fake",
- "date": "1631739725150"
}, - "creationDate": "1631739725150",
- "lastModifiedDate": "1631739725150",
- "status": "active",
- "listType": "client",
- "client": {
- "imsOrgId": "string",
- "sandboxId": "string"
}
}
Entity deleted
{- "id": "91acd0b4-753b-4366-8893-d5440c4d9b15",
- "entity": {
- "type": "domain",
- "entityValue": "baddomain.com"
}, - "suppressed": {
- "type": "MANUAL",
- "user": "myemail@myemail.com",
- "comment": "deemed to be a fake",
- "date": "1631739725150"
}, - "creationDate": "1631739725150",
- "lastModifiedDate": "1631739725150",
- "status": "active",
- "listType": "client",
- "client": {
- "imsOrgId": "string",
- "sandboxId": "string"
}
}
The CSV file has been accepted. This is an asynchronous call and will finish sometime in the future.
{- "success": {
- "jobId": "6caaed1b-d7bd-4065-a745-185e9af3b63a"
}
}
orderby | string Default: "-creationdate" Sort parameter and direction for sorting the response. Add the prefix as -/+ for desc/asc. If unspecified, the response will be sorted in desc order. Ex. orderby=+creationdate. |
limit | integer Default: 20 Limit response to a specified positive number of objects. Ex. limit=10 |
start | string Used for pagination. Specifies the criteria for next page with respect to the property specified in orderby. Ex. start=1631739725150. |
property | Array of strings Optional property filters. Please refer to api guidelines for filtering support in APIs. Filtering is supported on the following properties: creationdate, channel Ex. property=creationdate<1631739725150 |
A list of suppressed or allowed entities
{- "_page": {
- "orderby": "-createtime",
- "next": "1639983247",
- "count": 1
}, - "items": [
- {
- "jobId": "6caaed1b-d7bd-4065-a745-185e9af3b63a",
- "user": "username@mydomain.com",
- "filename": "mysuppressions.csv",
- "createTime": 1643768895,
- "endTime": 1643768895,
- "status": "ACCEPTED",
- "responseCode": 200,
- "responseText": "The file is malformed, only CSV files are allowed.",
- "recordCount": 14502,
- "handledCount": 12342,
- "failedCount": 17
}
], - "_links": {
- "self": {
- "href": "/upload/jobs?limit=1&orderby=-createtime"
}, - "next": {
- "href": "/upload/jobs?limit=1&start=1639983247&orderby=-createtime"
}
}
}
{- "imsOrgId": "225F37C35E4B776E0A49421B@AdobeOrg",
- "sandboxId": "70f22060-5d47-11ea-bdff-a5384333ff34",
- "failedRecords": [
- {
- "type": "Email",
- "value": "examplegmail@com",
- "comments": "This is a known bad email address",
- "failureReason": "Invalid format for the entry: examplegmail@com"
}
], - "jobId": "6caaed1b-d7bd-4065-a745-185e9af3b63a",
- "user": "username@mydomain.com",
- "filename": "mysuppressions.csv",
- "createTime": 1643768895,
- "endTime": 1643768895,
- "status": "ACCEPTED",
- "responseCode": 200,
- "responseText": "The file is malformed, only CSV files are allowed.",
- "recordCount": 14502,
- "handledCount": 12342,
- "failedCount": 17
}