Skip to main content
Admin or developer permissions are required to create and view REST API Keys in Braze.

Generating a REST API key

A REST API key authenticates requests to Braze and must be scoped to the specific endpoints you want to use.

1

Create the API key

Sign in to your Braze dashboard for the instance your workspace is hosted on (for example https://dashboard-03.braze.com).

  • In the left navigation, open Settings > Setup and Testing > APIs and Identifiers.
  • Click the API Keys tab.
  • In the REST API Keys section, click Create API Key.
REST API Keys page with the Create API Key button highlighted
2

Configure the key

On the Create API key page, fill in the key details. Once you save the API key, it cannot be edited.

  • API key name: e.g. StackOne Integration (or any descriptive name you prefer).
  • Allowlist IPs: leave the IP Addresses field blank to allow requests from any IP, or enter specific IP addresses / CIDR ranges (comma-separated) to restrict access.
Create API key page showing the API key name field, Allowlist IPs section, and Permissions list
3

Select permissions

Enables actions: Change Email Subscription Status, Create Catalog, Create Catalog Fields, Create Catalog Item, Create Catalog Items Bulk, Create Content Block, Create Email Template, Create Preference Center, Create Preference Center URL, Create Send ID, Create User Alias, Delete Catalog, Delete Catalog Field, Delete Catalog Item, Delete Catalog Items Bulk, Delete Scheduled Messages, Delete Scheduled Triggered Campaign, Delete Scheduled Triggered Canvas, Delete Users, Edit Catalog Item, Edit Catalog Items Bulk, Export Users By Identifier, Export Users By Segment, Export Users Global Control Group, Get CDI Job Sync Status, Get Campaign Analytics, Get Campaign Details, Get Canvas Analytics, Get Canvas Details, Get Canvas Summary, Get Catalog Item, Get Content Block, Get Custom Events Analytics, Get Email Template, Get KPI - Daily Active Users, Get KPI - Monthly Active Users, Get KPI - New Users, Get KPI - Uninstalls, Get Preference Center, Get Purchases Analytics, Get Revenue Analytics, Get Segment Analytics, Get Segment Details, Get Send Analytics, Get Sessions Analytics, Get User Subscription Group Status, Identify Users, List CDI Integrations, List Campaigns, List Canvas, List Catalog Items, List Catalogs, List Content Blocks, List Custom Attributes, List Custom Events, List Email Templates, List Preference Centers, List Products, List Scheduled Messages, List Segments, List User Subscription Groups, Merge Users, Query Hard Bounced Emails, Query Invalid Phone Numbers, Query Unsubscribed Emails, Remove Deprecated External IDs, Remove Hard Bounced Emails, Remove Invalid Phone Numbers, Rename External IDs, Schedule Messages, Schedule Triggered Campaign, Schedule Triggered Canvas, Send Messages, Send Transactional Message, Send Triggered Campaign, Send Triggered Canvas, Track Users, Trigger CDI Sync, Update Campaign Translations, Update Canvas Translations, Update Catalog Item, Update Catalog Items Bulk, Update Content Block, Update Content Block Translations, Update Email Template, Update Email Template Translations, Update Live Activity, Update Preference Center, Update Scheduled Messages, Update Scheduled Triggered Campaign, Update Scheduled Triggered Canvas, Update User Alias, Update User Subscription Group Status, Update User Subscription Group Status V2, View Campaign Translations, View Canvas Translations, View Content Block Translations, View Email Template Translations

Under Permissions, select the endpoint permissions for the actions you plan to use. Each Braze permission unlocks one REST endpoint. Include kpi.dau.data_series.

4

Save the key

Click Create API key to save.

5

Copy the API key

Copy the generated REST API Key across.

  • Format: a UUID, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  • The key can be viewed again later from the same API Keys tab.

Find your REST instance URL

Your REST instance URL identifies your Braze data center and is the base URL for API requests.

1

Copy the REST Endpoint

On the API Keys tab, find the REST Endpoint field near the top of the page.

  • Click Copy.
  • REST Endpoint: Copy it across into REST Instance URL
  • Format: https://rest.{instance}.braze.com (US) or https://rest.{instance}.braze.eu (EU)
  • Example: https://rest.iad-03.braze.com
API Keys tab with the REST Endpoint field and Copy button highlighted

Find your App API Key (optional)

The App API Key (Braze calls it an App Identifier) identifies a specific app in your workspace. It is optional — you only need it for the KPI and analytics actions (daily/monthly active users, new users, uninstalls, sessions, custom event, purchases, and revenue analytics). Leave it blank if you only use campaigns, canvas, users, catalogs, templates, or messaging.

1

Copy the App API Key

On the APIs and Identifiers page, open the App Identifiers tab.

  • Copy the value in the Identifier column for the app you want to use across into App API Key.
  • A workspace can have one App Identifier per app (iOS, Android, Web, etc.).
App Identifiers tab showing the App name and Identifier columns
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Braze into StackOne.