Clean Audience List
PUT/audiences/clean-list/:id
Clean Audience List
Update the audience list based on email address quality scores (ranging from 1 to 10):
- 6-10: Mark as Subscribed (high-quality emails)
- 1-5: Mark as Inactive (low-quality emails)
Request
Path Parameters
id uuidrequired
ID of the Audience to cleanup
Responses
- 200
- 400
- 401
- 402
- 404
- 405
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
statusCode string
message string
{
"statusCode": "200",
"message": "List cleaning has started successfully. You'll receive an email notification once the cleaning process is completed."
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Some error message"
}
API key is missing or invalid
Payment Required
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Insufficient credits. Current balance: X, required: Y, deficit: Z"
}
Audience not found
- application/json
- Schema
- Example (from schema)
Schema
statusCode string
message string
{
"statusCode": "404",
"message": "Audience not found with ID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
}
Method Not Allowed
Loading...