Endpoint
Authorization
All requests must include a valid API key in theAuthorization header as a Bearer token.
Request Body
An array of email address strings to add to the suppression list. You may submit up to 1,000 addresses per request. Addresses that are already suppressed are silently ignored — they will not be counted in the
suppressed response value and will not cause an error.Example Request
Response Fields
The number of email addresses that were newly added to the suppression list in this request. Addresses that were already suppressed prior to this request are not counted.
Example Response
Error Codes
| Code | Meaning |
|---|---|
400 | Bad Request — the request body is malformed, the emails field is missing, or the array is empty. |
401 | Unauthorized — your API key is missing, invalid, or revoked. |
404 | Not Found — the requested resource could not be located. |
422 | Unprocessable Entity — one or more email addresses failed format validation. The response body will include an errors array identifying the invalid entries. |