Customer engagement platform powering customer-centric interactions between consumers and brands in real-time
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
braze: {
type: "app",
app: "braze",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.braze.$auth.intance_domain}.braze.${this.braze.$auth.region}/catalogs`,
headers: {
Authorization: `Bearer ${this.braze.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})
Braze uses API keys for authentication. When you connect your Braze account, Pipedream securely stores the keys so you can easily authenticate to Braze APIs in both code and no-code steps.
Generate and copy your API Key from the Developer Console located in your dashboard.
To get the Instance Domain, refer to the Endpoints within Brazer's API documentation. For example, if your REST Endpoint is https://rest.iad-01.braze.com
, your Instance Domain is rest.iad-01