Braze

Braze is a comprehensive customer engagement platform that powers relevant and memorable experiences between consumers and the brands they love.

With Wavecell’s cloud communication platform, businesses and developers alike can incorporate SMS functionality into their user engagement strategies.

Some use cases

  • Send a personalized SMS message to potential customers triggered from an app or web
  • Send SMS notifications to customers based on app or web event

Product scope

  • Braze products

What you’ll need

  • A Wavecell account
  • Your Braze account

Creating a Braze webhook

Assuming you have successfully logged into Wavecell’s Costumer Portal, navigate to Configuration then API Keys as shown below.

An API key named apiKey 1 where the actual key is under Key is generated on signup and can be copied by clicking the blue double document icon. The Sub-Account ID(s) is also visible inside the API Keys page and can be copied as well by clicking on the desired ID when needed. After retrieving the Sub-Account ID and API key from Wavecell, navigate to your Braze account, and under Engagement click Templates & Media and select the Webhook Templates tab to create a new webhook template.

From there, select Blank Template to set up a new webhook.

Add https://api.wavecell.com/SMS/v1/{subAccountId}/single under WEBHOOK URL, where subAccountID is the Sub-Account ID from your API Keys page under Wavecell’s Customer Portal. REQUEST BODY should be the default option which is JSON Key/Value Pairs. Now add three new pairs in any order named source, destination, and text. The source should be the sender ID which is the name or number you will see when you receive an SMS, the destination is the mobile number in an international format where you are sending the SMS and text is the body message of your SMS. After it’s successfully set up, it should look similar to the image below:

Now, from the​ Settings​ tab, add two new request headers named Authorization​, which has the value Bearer and Content-Type which has the value application/json.

Finally, to perform a test on the webhook, navigate to the ​Test​ tab and click on the Send Test button. If everything is set up properly, a successful webhook response (200) message should appear as shown below.

After a successful test, click the Save Template button and your webhook will be established for future use within your app.