Import Suppression List
POST/suppression/import
Create a new suppression list by importing from csv file
Request
- multipart/form-data
Body
suppressionFile binaryrequired
The CSV file containing email addresses to suppress - File should have a header 'Value' and email addresses in the subsequent rows
suppression objectrequired
suppression - Ex: { "name": "Suppression List 1", "scope": "LOCAL" }
name stringrequired
Name of the suppression list
scope stringrequired
Possible values: [LOCAL
, GLOBAL
]
Scope of suppression - LOCAL (campaign-specific) or GLOBAL (account-wide)
Responses
- 200
- 400
- 401
- 405
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
id int64
name string
type string
Possible values: [EMAIL
, MD5
, SHA256
]
scope string
Possible values: [LOCAL
, GLOBAL
]
{
"id": 1,
"name": "Suppression List 1",
"type": "EMAIL",
"scope": "LOCAL"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Some error message"
}
API key is missing or invalid
Method Not Allowed
Loading...