Add an address that is not to be mailed again
POST
/api/platform/mail/suppressions
const url = 'https://forge.example.com/api/platform/mail/suppressions';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"address":"example","reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://forge.example.com/api/platform/mail/suppressions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "address": "example", "reason": "example" }'With a reason. The address travels in the body, never in the route.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
address
required
string
reason
required
string
Example generated
{ "address": "example", "reason": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
address
required
string
reason
required
string
source
required
string
detail
required
null | string
recordedAt
required
string format: date-time
Example generated
{ "address": "example", "reason": "example", "source": "example", "detail": "example", "recordedAt": "2026-04-15T12:00:00Z"}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}