Change User’s Email Subscription Status

post

/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.

Request Body

Content-Type: application/json

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

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.
subscription_state Yes String Either “subscribed”, “unsubscribed”, or “opted_in”.
WAS THIS PAGE HELPFUL?
New Stuff!