Append to Suppression List
POST/suppression/:id/append
Append a CSV file to an existing suppression list
Adds customer email addresses from a CSV file to an existing suppression list instead of creating a new one. The list's name and scope are inherited from the existing list, and its suppressed count accumulates across all appended files.
Request
Path Parameters
id int64required
ID of the suppression list to append to
- multipart/form-data
Body
file binaryrequired
The CSV file containing email addresses to suppress - File should have a header 'Value' and email addresses in the subsequent rows
Responses
- 200
- 400
- 401
- 404
- 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
Suppression list not found
Method Not Allowed
Loading...