Post
/import/suppression-list
Used to import items to a suppression list.
Note: This API is limited to 10,000 records in a single request. If you are importing more records, batch the data into multiple requests.
Body parameters
object
apptoken
string Required
Your App token
data
Array of object Required
Array of items to import into the suppression list
object
Responses
200
200
Result
{
"success": "True",
"code": "200"
}object
success
boolean
Defaulttrue
ExampleTrue
code
integer
Default0
Example200
errors
Array of object
object
400
400
Result
{
"success": "False",
"code": "400",
"message": "General error information",
"errors": [
{
"text": [
"Detailed information about the specific error"
]
}
]
}object
success
boolean
Defaulttrue
ExampleFalse
code
integer
Default0
Example400
message
string
ExampleGeneral error information
errors
Array of object
object
text
Array of string
string
404
404
Result
{
"success": "False",
"code": "404",
"message": "Not Found"
}object
success
boolean
Defaulttrue
ExampleFalse
code
integer
Default0
Example404
message
string
ExampleNot Found