Remove Email Addresses from Spam List

post

/email/spam/remove

This endpoint allows you to remove email addresses from your Braze spam list. We will also remove them from the spam list maintained by your email provider.

Request Body

Content-Type: application/json

1
2
3
4
{
  "api_key": "",
  "email": "example@123.com"
}

Parameters

Parameter Required Data Type Description
api_key Yes String See App Group REST API Key in Parameter Definitions.
email Yes String or Array String email address to modify, or an Array of up to 50 email addresses to modify.

Example Unsubscribe CURL

The following example CURL demonstrates how to unsubscribe a user from receiving email via the Braze APIs:

1
curl -X POST -H "Content-Type: application/json" -d '{"api_key":"YOUR_APP_GROUP_REST_API_KEY","email":"EMAIL_TO_UNSUBSCRIBE","subscription_state":"unsubscribed"}' https://rest.iad-01.braze.com/email/status
WAS THIS PAGE HELPFUL?
New Stuff!