Skip to content

Braze Endpoints API

by braze.com

No authHTTPSBusiness
Open documentation ↗

Overview

# Braze API Overview Braze provides a high performance REST API to allow you to track users, send messages, export data, and more. A REST API is a way to programmatically transfer information over the web using a predefined schema. Braze has created many different endpoints with specific requirements that will perform various actions and/or return various data. API access is done using HTTPS web requests to your company's REST API endpoint (this will correspond to your Dashboard URL as shown in the table below). Customers using Braze's EU database should use `https://rest.fra-01.braze.eu/`. For more information on REST API endpoints for customers using Braze's EU database see our [EU/US Implementation Differences documentation](https://www.braze.com/docs/developer_guide/eu01_us3_sdk_implementation_differences/overview/). ## Braze Instances Instance | Dashboard URL | REST Endpoint ----------- |---------------- | -------------------- US-01 | `https://dashboard.braze.com` or<br> `https://dashboard-01.braze.com` | `https://rest.iad-01.braze.com` US-02 | `https://dashboard-02.braze.com` | `https://rest.iad-02.braze.com` US-03 | `https://dashboard-03.braze.com` | `https://rest.iad-03.braze.com` US-04 | `https://dashboard-04.braze.com` | `https://rest.iad-04.braze.com` US-06 | `https://dashboard-06.braze.com` | `https://rest.iad-06.braze.com` EU-01 | `https://dashboard.braze.eu` or<br> `https://dashboard-01.braze.eu` | `https://rest.fra-01.braze.eu` # Using Braze's Postman Collection If you have a Postman account (MacOS, Windows, and Linux versions can be downloaded from their website located [here](https://www.getpostman.com)), you can go to our Postman documentation and click the orange `Run in Postman` button in the top, right corner. This will allow you to [create an environment](#setting-up-your-postman-environment), as well as edit the available `POST` and `GET` requests to suit your own needs. ## Setting Up Your Postman Environment The Braze Postman Collection uses a templating variable, `{{instance_url}}`, to substitute the REST API URL of your Braze instance into the pre-built requests. Rather than having to manually edit all requests in the Collection, you can set up this variable in your Postman environment. To do so, please follow the steps below: 1. Click on the gear icon in the top right corner of the Postman app. 2. Select "Manage Environments" to open a modal window which displays your active environments. 3. In the bottom right corner of the modal window, click "Add" to create a new environment. 4. Give this environment a name (e.g. "Braze API Requests") and add keys for `instance_url` and `api_key` with values corresponding to [your Braze instance](https://www.braze.com/docs/api/basics/#endpoints) and [Braze REST API Key](https://www.braze.com/docs/api/basics/#app-group-rest-api-keys), as pictured below. As of April, 2020 Braze has changed how we read App Group API keys. Instead of passing them in the request body or through url parameters, we now read the App Group Rest`api_key` through the HTTP Authorization header. API keys not passed through the HTTP Authorization Header will coninue to work until they have been sunset. ## Using the Pre-Built Requests from the Collection Once you have configured your environment. You can use any of the pre-built requests in the collection as a template for building new API requests. To start using one of the pre-built requests, simply click on it within the 'Collections' menu on the left side of Postman. This will open the request as a new tab in the main window of the Postman app. In general, there are two types of requests that Braze's API endpoints accept - `GET` and `POST`. Depending on which `HTTP` method the endpoint uses, you'll need to edit the pre-built request differently. ### Edit a POST Request When editing a `POST` request, you'll need to open the request and navigate to the `Body` section in the request editor. For readability, select the `raw` radio button to form

Braze Endpoints is a business API from braze.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 31 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Business
Base URL
https://rest.iad-01.braze.com
Version
1.0.0
Endpoints
31
Spec updated
2021-06-21

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://rest.iad-01.braze.com/campaigns/data_series" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://rest.iad-01.braze.com/campaigns/data_series", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://rest.iad-01.braze.com/campaigns/data_series",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/campaigns/data_seriesCampaign Analytics
GET/campaigns/detailsCampaign Details
GET/campaigns/listCampaign List
GET/canvas/data_seriesCanvas Data Series Analytics
GET/canvas/data_summaryCanvas Data Analytics Summary
GET/canvas/detailsCanvas Details
GET/canvas/listCanvas List
POST/canvas/trigger/schedule/createSchedule API Triggered Canvases
GET/content_blocks/infoSee Content Block Information
GET/content_blocks/listList Available Content Blocks
GET/email/hard_bouncesQuery Hard Bounced Emails
GET/email/unsubscribesQuery List of Unsubscribed Email Addresses
GET/events/data_seriesCustom Events Analytics
GET/events/listCustom Events List
GET/feed/data_seriesNews Feed Card Analytics
GET/feed/detailsNews Feed Cards Details
GET/feed/listNews Feed Cards List
GET/kpi/dau/data_seriesDaily Active Users by Date
GET/kpi/mau/data_seriesMonthly Active Users for Last 30 Days
GET/kpi/new_users/data_seriesDaily New Users by Date
GET/kpi/uninstalls/data_seriesKPIs for Daily App Uninstalls by Date
GET/messages/scheduled_broadcastsGet Upcoming Scheduled Campaigns and Canvases
GET/segments/data_seriesSegment Analytics
GET/segments/detailsSegment Details
GET/segments/listSegment List
GET/sends/data_seriesSend Analytics
GET/sessions/data_seriesApp Sessions by Time
GET/subscription/status/getList User's Subscription Group Status - SMS
GET/subscription/user/statusList User's Subscription Group - SMS
GET/templates/email/infoSee Email Template Information
GET/templates/email/listList Available Email Templates

Questions

Does the Braze Endpoints API need an API key?

No. The Braze Endpoints API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the Braze Endpoints API support HTTPS?

Yes, the Braze Endpoints API is served over HTTPS.

How many endpoints does the Braze Endpoints API have?

Its OpenAPI description lists 31 endpoints in version 1.0.0. All of them are shown on this page.

What are alternatives to the Braze Endpoints API?

Other Business APIs include Gmail, Google Analytics, Apache Superset, Trello, Square.

Compare alternatives →

Listed from APIs.guru (CC0).