Digioh’s Braze Subscription group integration allows you to add existing Braze users to an email or SMS subscription group.
To integrate with the Braze subscription group module, follow the Braze subscription group API docs. The subscription group API will update the existing user’s email or SMS subscription group through API. If you are adding new users in Braze through Digioh, use the User Track API with Subscription group API which is also added in the Digioh integrations. First, the User will be added to Braze through the User Track API. After that, the subscription group Integration will run to update the subscription group.
Note: If adding new users with the Braze User Track API, leave a 2-minute delay before executing the subscription group API. Note the below screenshot.
If you are setting up a Digioh integration by yourself, we first recommend reading about Digioh Integration Basics.
Once you have created your form, follow these steps to integrate Digioh with Braze Subscription group API.
Steps
1: Add a New Integration
Go to the Integrations page and select “New Integration.”
2: Set a friendly name in the Friendly Name field.
3: Select API Form Post in Integration options
4: Form Post URL:
Enter Braze /subscription/status/set API Endpoint (For Endpoint please check Braze Endpoint API documentation)
https://{{instance_url}}/subscription/status/set
NOTE: {{instance_url}} value will be different according to your account.
5: Select JSON Raw in Post Type.
6: Select Box
Select the box and click on Create Integration.
7: Configure Advanced Integration Settings
Set the HTTP method to POST, enter the Header 1 key and value like the below image The Authorization is Key, and the Braze API key will be placed in Bearer Token.
Set up your payload in the Raw Data to Send section
Email Subscription group Payload Example:
{ "subscription_group_id": "1e4c222-5432-23456-3456-34556667890", "subscription_state": "subscribed", "external_id": "[EMAIL_MD5]", "email": "[EMAIL]" }
SMS Subscription group Payload Example:
{ "subscription_group_id": "1212121212121212121", "subscription_state": "subscribed", "phone": "[PHONE]" }
To get your Braze Subscription group ID, please check the API documentation.
That’s all there is to it! Your Braze subscription group integration is ready to go!
If you have any questions about setting up your Braze Subscription group integration, send us an email, and we’ll be glad to help!
Related Reading: