Change Email Subscription Status

POST https://{{instance_url}}/email/status

This endpoint allows you to set the email subscription state for your users. Users can be opted_in, unsubscribed, or subscribed (not specifically opted in or out).

You can set the email subscription state for an email address that is not yet associated with any of your users within Braze. When that email address is subsequently associated with a user, the email subscription state that you uploaded will be automatically set.

ParameterRequiredData TypeDescription
emailYesString or arrayString email address to modify, or an array of up to 50 email addresses to modify.
subscription_stateYesStringEither “subscribed”, “unsubscribed”, or “opted_in”.

Request Body

{"email"=>"example@braze.com", "subscription_state"=>"subscribed"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring