---
name: braze
description: Base class for applications interacting with RESTful HTTP APIs. Extends `BaseApplication` to provide functionalities specific to API-based integrations. This includes managing an `httpx.Client` for making HTTP requests, handling authentication headers, processing responses, and offering convenient methods for common HTTP verbs (GET, POST, PUT, DELETE, PATCH). Attributes: name (str): The name of the application. integration (Integration | None): An optional Integration object responsible for managing authentication and credentials. default_timeout (int): The default timeout in seconds for HTTP requests. base_url (str): The base URL for the API endpoint. This should be set by the subclass. _client (httpx.Client | None): The internal httpx client instance.
---

# Braze Integration

Base class for applications interacting with RESTful HTTP APIs. Extends `BaseApplication` to provide functionalities specific to API-based integrations. This includes managing an `httpx.Client` for making HTTP requests, handling authentication headers, processing responses, and offering convenient methods for common HTTP verbs (GET, POST, PUT, DELETE, PATCH). Attributes: name (str): The name of the application. integration (Integration | None): An optional Integration object responsible for managing authentication and credentials. default_timeout (int): The default timeout in seconds for HTTP requests. base_url (str): The base URL for the API endpoint. This should be set by the subclass. _client (httpx.Client | None): The internal httpx client instance.

## Available Tools

| Tool | Description |
|------|-------------|
| `update_email_template` | Update Email Template |
| `track_user_activity` | Track Users |
| `delete_catalog_by_name` | Delete Catalog |
| `list_catalogs` | List Catalogs |
| `create_catalog` | Create Catalog |
| `delete_catalog_item` | Delete Multiple Catalog Items |
| `edit_catalog_item` | Edit Multiple Catalog Items |
| `create_catalog_item` | Create Multiple Catalog Items |
| `update_catalog_items` | Update Catalog Item |
| `list_catalog_items` | List Multiple Catalog Item Details |
| `delete_catalog_item_by_id` | Delete a Catalog Item |
| `get_item_detail` | List Catalog Item Details |
| `update_catalog_item_by_id` | Edit Catalog Items |
| `add_catalog_item_by_id` | Create Catalog Item |
| `update_catalog_item` | Update Catalog Item |
| `list_hard_bounces` | Query Hard Bounced Emails |
| `list_unsubscribes` | Query List of Unsubscribed Email Addresses |
| `post_email_status` | Change Email Subscription Status |
| `remove_bounced_email` | Remove Hard Bounced Emails |
| `remove_email_spam` | Remove Email Addresses from Spam List |
| `add_email_to_blocklist` | Blocklist Email Addresses |
| `add_to_blacklist` | Blacklist Email Addresses |
| `get_campaign_data_series` | Export Campaign Analytics |
| `get_campaign_details` | Export Campaign Details |
| `list_campaigns` | Export Campaign List |
| `get_send_data_series` | Export Send Analytics |
| `get_canvas_data_series` | Export Canvas Data Series Analytics |
| `fetch_canvas_data_summary` | Export Canvas Data Analytics Summary |
| `get_canvas_details` | Export Canvas Details |
| `list_canvas` | Export Canvas List |
| `list_events` | Export Custom Events List |
| `fetch_event_series_data` | Export Custom Events Analytics |
| `list_new_user_kpi_series` | Export Daily New Users by Date |
| `get_daily_active_users_series` | Export Daily Active Users by Date |
| `get_kpimau_data_series` | Export Monthly Active Users for Last 30 Days |
| `get_kpi_uninstalls_data_series` | Export KPIs for Daily App Uninstalls by Date |
| `get_feed_data_series` | Export News Feed Card Analytics |
| `get_feed_details` | Export News Feed Cards Details |
| `list_feed` | Export News Feed Cards List |
| `list_products` | Export Product IDs |
| `get_purchase_quantity_series` | Export Number of Purchases |
| `get_purchases_revenue_series` | Export Revenue Data by Time |
| `list_segments` | Export Segment List |
| `get_segments_data_series` | Export Segment Analytics |
| `get_segment_details` | Export Segment Details |
| `get_sessions_data_series` | Export App Sessions by Time |
| `export_user_ids_by_post` | Export User Profile by Identifier |
| `export_users_by_segment_post` | Export User Profile by Segment |
| `export_global_control_group_users` | Export User Profile by Global Control Group |
| `update_live_activity_message` | Update Live Activity |
| `list_scheduled_broadcasts` | List Upcoming Scheduled Campaigns and Canvases |
| `delete_scheduled_message` | Delete Scheduled Messages |
| `schedule_delete_canvas_trigger` | Delete Scheduled API-Triggered Canvases |
| `delete_campaign_schedule` | Delete Scheduled API Triggered Campaigns |
| `create_scheduled_message` | Create Scheduled Messages |
| `create_schedule` | Schedule API Triggered Campaigns |
| `create_schedule_trigger` | Schedule API Triggered Canvases |
| `schedule_message_update` | Update Scheduled Messages |
| `update_campaign_trigger_schedule` | Update Scheduled API Triggered Campaigns |
| `update_canvas_trigger_schedule` | Update Scheduled API Triggered Canvases |
| `create_send_by_id` | Create Send IDs For Message Send Tracking |
| `send_message` | Send Messages Immediately via API Only |
| `send_campaign_transactional` | Send Transactional Email via API Triggered Delivery |
| `send_campaign_trigger` | Send Campaign Messages via API Triggered Delivery |
| `send_canvas_trigger_post` | Send Canvas Messages via API Triggered Delivery |
| `get_preference_center_url_by_user_id` | Generate Preference Center URL |
| `list_preferences` | List Preference Centers |
| `get_preference_center_by_id` | View Details for Preference Center |
| `update_preference_center_by_id` | Update Preference Center |
| `create_preference_center_entry` | Create Preference Center |
| `delete_user_by_id` | Remove Dashboard User Account |
| `get_user_by_id` | Look Up an Existing Dashboard User Account |
| `update_user_by_id` | Update Dashboard User Account |
| `list_users` | Search Existing Dashboard User by Email |
| `create_user` | Create New Dashboard User Account |
| `list_invalid_phone_numbers` | Query Invalid Phone Numbers |
| `remove_invalid_phone_numbers` | Remove Invalid Phone Numbers |
| `get_subscription_status` | List User's Subscription Group Status - SMS |
| `get_subscription_user_status` | List User's Subscription Group - SMS |
| `set_subscription_status` | Update User's Subscription Group Status - SMS |
| `set_subscription_status_post` | Update User's Subscription Group Status V2 |
| `list_content_blocks` | List Available Content Blocks |
| `get_info_content_block` | See Content Block Information |
| `create_content_block` | Create Content Block |
| `update_content_block` | Update Content Block |
| `list_email_templates` | List Available Email Templates |
| `get_email_template_info` | See Email Template Information |
| `create_email_template` | Create Email Template |
| `rename_external_id` | Rename External ID |
| `remove_external_id` | Remove External ID |
| `update_user_alias` | Update User Alias |
| `create_user_alias_new` | Create New User Aliases |
| `delete_user` | Delete Users |
| `identify_user` | Identify Users |
| `merge_users_post` | Merge Users |
