Integrations
Braze
Connect Braze to Alter Vault for secure API access
Overview
Section titled “Overview”Use Braze credentials to make authenticated API calls through Alter Vault without exposing API keys in code.
| Property | Value |
|---|---|
| Template ID | braze |
| Category | Marketing |
| Credential Type | Bearer Token |
Step 1: Get Credentials
Section titled “Step 1: Get Credentials”Log in to Braze
Log in at dashboard.braze.com; Braze redirects to the account’s cluster at dashboard.braze.com/sign_in.
Go to Settings → API Keys
Go to Settings → API Keys at dashboard.braze.com/app_settings/api_settings/.
Create a new API key
Click ‘Create New API Key’ and configure permissions.
Copy the REST API key
Copy the generated REST API key.
Find the instance URL
Find the instance URL on the dashboard (e.g. rest.iad-02.braze.com) for the Instance URL field.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”Open the Developer Portal
Go to portal.alterauth.com and navigate to the application.
Add Braze
Go to Managed Secrets > Add Provider > Braze.
Enter credentials
Paste the REST API Key into the credential field.
Enter the instance URL
Paste the REST endpoint (e.g. rest.iad-02.braze.com) into the Braze Instance URL field. Copy it from Settings → API Keys in the Braze
dashboard. Alter derives this credential’s allowed hosts from that exact
host, so proxied calls can only ever reach that cluster. The allowlist
cannot be widened or edited separately; rotate the credential with a new
endpoint to retarget it.
Save
Click Save. You’ll receive a grant_id to use with the SDK.
Using in Code
Section titled “Using in Code”from alter_sdk import PendingApprovalresponse = await alter_app.proxy_request( HttpMethod.GET, "https://YOUR_BRAZE_INSTANCE_URL/campaigns/list", grant_id="YOUR_GRANT_ID",)if isinstance(response, PendingApproval): for gate in response.gates: print("Approval required:", gate.approval_url) response = await alter_app.await_approval(response.approval_id)- The Braze dashboard URL is cluster-specific. Log in via dashboard.braze.com to be redirected to the account’s cluster automatically.
Policy-cataloged operations
Section titled “Policy-cataloged operations”Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.
| Operation ID | Families | Method | Provider path |
|---|---|---|---|
post:/messages/send | send | POST | /messages/send |
post:/campaigns/trigger/send | send | POST | /campaigns/trigger/send |
post:/canvas/trigger/send | send | POST | /canvas/trigger/send |
post:/transactional/v1/campaigns/{campaign_id}/send | send | POST | /transactional/v1/campaigns/{campaign_id}/send |
post:/messages/schedule/create | send, write | POST | /messages/schedule/create |
post:/messages/schedule/update | send, write | POST | /messages/schedule/update |
post:/messages/schedule/delete | delete | POST | /messages/schedule/delete |
post:/campaigns/trigger/schedule/create | send, write | POST | /campaigns/trigger/schedule/create |
post:/campaigns/trigger/schedule/update | send, write | POST | /campaigns/trigger/schedule/update |
post:/campaigns/trigger/schedule/delete | delete | POST | /campaigns/trigger/schedule/delete |
post:/canvas/trigger/schedule/create | send, write | POST | /canvas/trigger/schedule/create |
post:/canvas/trigger/schedule/update | send, write | POST | /canvas/trigger/schedule/update |
post:/canvas/trigger/schedule/delete | delete | POST | /canvas/trigger/schedule/delete |
post:/sends/id/create | write | POST | /sends/id/create |
get:/messages/scheduled_broadcasts | read | GET | /messages/scheduled_broadcasts |
post:/users/track | write | POST | /users/track |
post:/users/delete | delete | POST | /users/delete |
post:/users/identify | write | POST | /users/identify |
post:/users/merge | write | POST | /users/merge |
post:/users/alias/new | write | POST | /users/alias/new |
post:/users/external_ids/remove | delete | POST | /users/external_ids/remove |
post:/users/external_ids/rename | write | POST | /users/external_ids/rename |
post:/users/export/ids | read | POST | /users/export/ids |
post:/email/blacklist | write | POST | /email/blacklist |
post:/email/blocklist | write | POST | /email/blocklist |
post:/email/bounce/remove | write | POST | /email/bounce/remove |
post:/email/spam/remove | write | POST | /email/spam/remove |
post:/email/status | write | POST | /email/status |
get:/email/hard_bounces | read | GET | /email/hard_bounces |
get:/email/unsubscribes | read | GET | /email/unsubscribes |
post:/subscription/status/set | write | POST | /subscription/status/set |
post:/v2/subscription/status/set | write | POST | /v2/subscription/status/set |
get:/campaigns/list | read | GET | /campaigns/list |
get:/campaigns/details | read | GET | /campaigns/details |
get:/canvas/list | read | GET | /canvas/list |
get:/canvas/details | read | GET | /canvas/details |
post:/templates/email/create | write | POST | /templates/email/create |
post:/templates/email/update | write | POST | /templates/email/update |
get:/templates/email/list | read | GET | /templates/email/list |
get:/templates/email/info | read | GET | /templates/email/info |
Unreviewed operations
Section titled “Unreviewed operations”These operations are in the provider’s published API specification, but Alter has not reviewed them yet, so their families are unknown. Every operation, family or content rule refuses one with operation_unreviewed unless a rule admits it by name, so a broad rule cannot be dodged by calling one. A rule names one by the provider-qualified name in the first column, never by the bare operation ID, which other providers may share. To use one under a rule, list that name in an operation allowlist to allow it, or in a require_approval rule whose every condition names it to hold it for approval; saving such a rule needs an organization admin. A family never admits one. Because an unreviewed operation may create credentials or change account security, admitting one also needs a scoped credential_minting allowance naming the provider and that name. See Unreviewed operations.
| Name in a rule | Method | Provider path |
|---|---|---|
braze:delete:/catalogs/{catalog_name} | DELETE | /catalogs/{catalog_name} |
braze:delete:/catalogs/{catalog_name}/items | DELETE | /catalogs/{catalog_name}/items |
braze:delete:/catalogs/{catalog_name}/items/{item_id} | DELETE | /catalogs/{catalog_name}/items/{item_id} |
braze:delete:/scim/v2/Users/{id} | DELETE | /scim/v2/Users/{id} |
braze:get:/campaigns/data_series | GET | /campaigns/data_series |
braze:get:/canvas/data_series | GET | /canvas/data_series |
braze:get:/canvas/data_summary | GET | /canvas/data_summary |
braze:get:/catalogs | GET | /catalogs |
braze:get:/catalogs/{catalog_name}/items | GET | /catalogs/{catalog_name}/items |
braze:get:/catalogs/{catalog_name}/items/{item_id} | GET | /catalogs/{catalog_name}/items/{item_id} |
braze:get:/content_blocks/info | GET | /content_blocks/info |
braze:get:/content_blocks/list | GET | /content_blocks/list |
braze:get:/events/data_series | GET | /events/data_series |
braze:get:/events/list | GET | /events/list |
braze:get:/feed/data_series | GET | /feed/data_series |
braze:get:/feed/details | GET | /feed/details |
braze:get:/feed/list | GET | /feed/list |
braze:get:/kpi/dau/data_series | GET | /kpi/dau/data_series |
braze:get:/kpi/mau/data_series | GET | /kpi/mau/data_series |
braze:get:/kpi/new_users/data_series | GET | /kpi/new_users/data_series |
braze:get:/kpi/uninstalls/data_series | GET | /kpi/uninstalls/data_series |
braze:get:/preference_center/v1/list | GET | /preference_center/v1/list |
braze:get:/preference_center/v1/{PreferenceCenterExternalID} | GET | /preference_center/v1/{PreferenceCenterExternalID} |
braze:get:/preference_center/v1/{PreferenceCenterExternalID}/url/{UserID} | GET | /preference_center/v1/{PreferenceCenterExternalID}/url/{UserID} |
braze:get:/purchases/product_list | GET | /purchases/product_list |
braze:get:/purchases/quantity_series | GET | /purchases/quantity_series |
braze:get:/purchases/revenue_series | GET | /purchases/revenue_series |
braze:get:/scim/v2/Users | GET | /scim/v2/Users |
braze:get:/scim/v2/Users/{id} | GET | /scim/v2/Users/{id} |
braze:get:/segments/data_series | GET | /segments/data_series |
braze:get:/segments/details | GET | /segments/details |
braze:get:/segments/list | GET | /segments/list |
braze:get:/sends/data_series | GET | /sends/data_series |
braze:get:/sessions/data_series | GET | /sessions/data_series |
braze:get:/sms/invalid_phone_numbers | GET | /sms/invalid_phone_numbers |
braze:get:/subscription/status/get | GET | /subscription/status/get |
braze:get:/subscription/user/status | GET | /subscription/user/status |
braze:patch:/catalogs/{catalog_name}/items | PATCH | /catalogs/{catalog_name}/items |
braze:patch:/catalogs/{catalog_name}/items/{item_id} | PATCH | /catalogs/{catalog_name}/items/{item_id} |
braze:post:/catalogs | POST | /catalogs |
braze:post:/catalogs/{catalog_name}/items | POST | /catalogs/{catalog_name}/items |
braze:post:/catalogs/{catalog_name}/items/{item_id} | POST | /catalogs/{catalog_name}/items/{item_id} |
braze:post:/content_blocks/create | POST | /content_blocks/create |
braze:post:/content_blocks/update | POST | /content_blocks/update |
braze:post:/messages/live_activity/update | POST | /messages/live_activity/update |
braze:post:/preference_center/v1 | POST | /preference_center/v1 |
braze:post:/scim/v2/Users | POST | /scim/v2/Users |
braze:post:/sms/invalid_phone_numbers/remove | POST | /sms/invalid_phone_numbers/remove |
braze:post:/users/alias/update | POST | /users/alias/update |
braze:post:/users/export/global_control_group | POST | /users/export/global_control_group |
braze:post:/users/export/segment | POST | /users/export/segment |
braze:put:/catalogs/{catalog_name}/items | PUT | /catalogs/{catalog_name}/items |
braze:put:/catalogs/{catalog_name}/items/{item_id} | PUT | /catalogs/{catalog_name}/items/{item_id} |
braze:put:/preference_center/v1/{PreferenceCenterExternalID} | PUT | /preference_center/v1/{PreferenceCenterExternalID} |
braze:put:/scim/v2/Users/{id} | PUT | /scim/v2/Users/{id} |