Skip to content

Integrations

Braze

Connect Braze to Alter Vault for secure API access

Use Braze credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Template IDbraze
CategoryMarketing
Credential TypeBearer Token

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.

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.

from alter_sdk import PendingApproval
response = 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.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider path
post:/messages/sendsendPOST/messages/send
post:/campaigns/trigger/sendsendPOST/campaigns/trigger/send
post:/canvas/trigger/sendsendPOST/canvas/trigger/send
post:/transactional/v1/campaigns/{campaign_id}/sendsendPOST/transactional/v1/campaigns/{campaign_id}/send
post:/messages/schedule/createsend, writePOST/messages/schedule/create
post:/messages/schedule/updatesend, writePOST/messages/schedule/update
post:/messages/schedule/deletedeletePOST/messages/schedule/delete
post:/campaigns/trigger/schedule/createsend, writePOST/campaigns/trigger/schedule/create
post:/campaigns/trigger/schedule/updatesend, writePOST/campaigns/trigger/schedule/update
post:/campaigns/trigger/schedule/deletedeletePOST/campaigns/trigger/schedule/delete
post:/canvas/trigger/schedule/createsend, writePOST/canvas/trigger/schedule/create
post:/canvas/trigger/schedule/updatesend, writePOST/canvas/trigger/schedule/update
post:/canvas/trigger/schedule/deletedeletePOST/canvas/trigger/schedule/delete
post:/sends/id/createwritePOST/sends/id/create
get:/messages/scheduled_broadcastsreadGET/messages/scheduled_broadcasts
post:/users/trackwritePOST/users/track
post:/users/deletedeletePOST/users/delete
post:/users/identifywritePOST/users/identify
post:/users/mergewritePOST/users/merge
post:/users/alias/newwritePOST/users/alias/new
post:/users/external_ids/removedeletePOST/users/external_ids/remove
post:/users/external_ids/renamewritePOST/users/external_ids/rename
post:/users/export/idsreadPOST/users/export/ids
post:/email/blacklistwritePOST/email/blacklist
post:/email/blocklistwritePOST/email/blocklist
post:/email/bounce/removewritePOST/email/bounce/remove
post:/email/spam/removewritePOST/email/spam/remove
post:/email/statuswritePOST/email/status
get:/email/hard_bouncesreadGET/email/hard_bounces
get:/email/unsubscribesreadGET/email/unsubscribes
post:/subscription/status/setwritePOST/subscription/status/set
post:/v2/subscription/status/setwritePOST/v2/subscription/status/set
get:/campaigns/listreadGET/campaigns/list
get:/campaigns/detailsreadGET/campaigns/details
get:/canvas/listreadGET/canvas/list
get:/canvas/detailsreadGET/canvas/details
post:/templates/email/createwritePOST/templates/email/create
post:/templates/email/updatewritePOST/templates/email/update
get:/templates/email/listreadGET/templates/email/list
get:/templates/email/inforeadGET/templates/email/info

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 ruleMethodProvider path
braze:delete:/catalogs/{catalog_name}DELETE/catalogs/{catalog_name}
braze:delete:/catalogs/{catalog_name}/itemsDELETE/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_seriesGET/campaigns/data_series
braze:get:/canvas/data_seriesGET/canvas/data_series
braze:get:/canvas/data_summaryGET/canvas/data_summary
braze:get:/catalogsGET/catalogs
braze:get:/catalogs/{catalog_name}/itemsGET/catalogs/{catalog_name}/items
braze:get:/catalogs/{catalog_name}/items/{item_id}GET/catalogs/{catalog_name}/items/{item_id}
braze:get:/content_blocks/infoGET/content_blocks/info
braze:get:/content_blocks/listGET/content_blocks/list
braze:get:/events/data_seriesGET/events/data_series
braze:get:/events/listGET/events/list
braze:get:/feed/data_seriesGET/feed/data_series
braze:get:/feed/detailsGET/feed/details
braze:get:/feed/listGET/feed/list
braze:get:/kpi/dau/data_seriesGET/kpi/dau/data_series
braze:get:/kpi/mau/data_seriesGET/kpi/mau/data_series
braze:get:/kpi/new_users/data_seriesGET/kpi/new_users/data_series
braze:get:/kpi/uninstalls/data_seriesGET/kpi/uninstalls/data_series
braze:get:/preference_center/v1/listGET/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_listGET/purchases/product_list
braze:get:/purchases/quantity_seriesGET/purchases/quantity_series
braze:get:/purchases/revenue_seriesGET/purchases/revenue_series
braze:get:/scim/v2/UsersGET/scim/v2/Users
braze:get:/scim/v2/Users/{id}GET/scim/v2/Users/{id}
braze:get:/segments/data_seriesGET/segments/data_series
braze:get:/segments/detailsGET/segments/details
braze:get:/segments/listGET/segments/list
braze:get:/sends/data_seriesGET/sends/data_series
braze:get:/sessions/data_seriesGET/sessions/data_series
braze:get:/sms/invalid_phone_numbersGET/sms/invalid_phone_numbers
braze:get:/subscription/status/getGET/subscription/status/get
braze:get:/subscription/user/statusGET/subscription/user/status
braze:patch:/catalogs/{catalog_name}/itemsPATCH/catalogs/{catalog_name}/items
braze:patch:/catalogs/{catalog_name}/items/{item_id}PATCH/catalogs/{catalog_name}/items/{item_id}
braze:post:/catalogsPOST/catalogs
braze:post:/catalogs/{catalog_name}/itemsPOST/catalogs/{catalog_name}/items
braze:post:/catalogs/{catalog_name}/items/{item_id}POST/catalogs/{catalog_name}/items/{item_id}
braze:post:/content_blocks/createPOST/content_blocks/create
braze:post:/content_blocks/updatePOST/content_blocks/update
braze:post:/messages/live_activity/updatePOST/messages/live_activity/update
braze:post:/preference_center/v1POST/preference_center/v1
braze:post:/scim/v2/UsersPOST/scim/v2/Users
braze:post:/sms/invalid_phone_numbers/removePOST/sms/invalid_phone_numbers/remove
braze:post:/users/alias/updatePOST/users/alias/update
braze:post:/users/export/global_control_groupPOST/users/export/global_control_group
braze:post:/users/export/segmentPOST/users/export/segment
braze:put:/catalogs/{catalog_name}/itemsPUT/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}

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.