Skip to content

Commit

Permalink
Merge pull request #8032 from braze-inc/lx-BD-3429
Browse files Browse the repository at this point in the history
BD-3429: Alphabetize channels in example request
  • Loading branch information
rachel-feinberg authored Sep 5, 2024
2 parents 7eebd80 + dc1c858 commit 9b7cd1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ Authorization: Bearer YOUR-REST-API-KEY
"override_frequency_capping": (optional, bool) ignore frequency_capping for campaigns, defaults to false,
"recipient_subscription_state": (optional, string) use this to send messages to only users who have opted in ('opted_in'), only users who have subscribed or are opted in ('subscribed') or to all users, including unsubscribed users ('all'), the latter being useful for transactional email messaging. Defaults to 'subscribed',
"messages": {
"apple_push": (optional, apple push object),
"android_push": (optional, android push object),
"apple_push": (optional, apple push object),
"content_card": (optional, content card object),
"email": (optional, email object),
"kindle_push": (optional, kindle/fireOS push object),
"web_push": (optional, web push object),
"email": (optional, email object),
"webhook": (optional, webhook object),
"content_card": (optional, content card object),
"sms": (optional, SMS object),
"whats_app": (optional, WhatsApp object)
"whats_app": (optional, WhatsApp object),
"sms": (optional, SMS object)
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ curl --location --request POST 'https://rest.iad-01.braze.com/campaigns/trigger/

Message sending endpoint responses will include the message's `dispatch_id` for reference back to the dispatch of the message. The `dispatch_id` is the ID of the message dispatch, a unique ID for each transmission sent from Braze. When using this endpoint, you receive a single `dispatch_id` for an entire batched set of users. For more information on `dispatch_id` check out our documentation on [Dispatch ID behavior]({{site.baseurl}}/help/help_articles/data/dispatch_id/).

## Create send endpoint

**Using the Attributes Object in campaigns**
## Attributes object for campaigns

Braze has a messaging object called `attributes` that will allow you to add, create, or update attributes and values for a user before you send them an API-triggered campaign. Using the `campaign/trigger/send` endpoint as this API call will process the user attributes object before it processes and sends the campaign. This helps minimize the risk of there being issues caused by [race conditions]({{site.baseurl}}/help/best_practices/race_conditions/).

Expand Down

0 comments on commit 9b7cd1d

Please sign in to comment.