Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Use Braze credentials to make authenticated API calls through Alter Vault without exposing your API keys in code.
PropertyValue
Provider IDbraze
CategoryMarketing
Credential TypeBearer Token

Step 1: Get Your Credentials

1

Log in to Braze

Log in at dashboard.braze.com — you will be redirected to your cluster at dashboard.braze.com/sign_in.
2

Go to Settings → API Keys

Go to Settings → API Keys at dashboard.braze.com/app_settings/api_settings/.
3

Create a new API key

Click ‘Create New API Key’ and configure permissions.
4

Copy the REST API key

Copy the generated REST API key.
5

Find your instance URL

Find your instance URL on the dashboard (e.g. rest.iad-02.braze.com) for the Instance URL field.
Never share your credentials publicly. Store them securely and only enter them in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Braze

Go to Managed Secrets > Add Provider > Braze.
3

Enter your credentials

Paste your REST API Key into the credential field, and your Instance URL (e.g. rest.iad-02.braze.com) into the Instance URL field.
4

Save

Click Save. You’ll receive a grant_id to use with the SDK.

Using in Code

response = await vault.request(
    HttpMethod.POST,
    "https://YOUR_BRAZE_INSTANCE_URL/messages/send",
    grant_id="YOUR_GRANT_ID",
)

Notes

  • Your Braze dashboard URL is cluster-specific. Log in via dashboard.braze.com to be redirected to your cluster automatically.