SDKs and APIs
43 TopicsNeed to export Opted In date. Any ideas?
Hi all We are linking our Braze instance to some internal tooling and it is a non-negotiable requirement that we share the opted in date for each user we pass, so they know how old the opt in is. I can see the date exists inside Braze but it does not look like the API passes this date. Has anyone had a similar problem or know of a workaround? Thanks!31Views0likes4CommentsBraze Webhook notifications do not work
Hi, I have several webhook alerts: Scheduled Campaign Finished Sending Scheduled Campaign Sent/Not Sent It stopped working a few days ago. I also have Webhook Errors email notification, but I got nothing. Strangely, apart from the webhook, the email alerts for `Scheduled Campaign Finished Sending` and `Scheduled Campaign Sent/Not Sent` are working. Please let me know if there's a problem. Thank you.55Views0likes4CommentsManage Connected Content Headers
This page suggests the ability to set and manage connected content authorization. Our admin has raised my credentials (I've logged in and out) and I'm still not seeing this available under any of the settings menus. Can someone provide insight here either the exact breadcrumbs and/or the permission set needed to access the menu?49Views1like3CommentsJSON body arrays in connected content API calls
Currently building out some complex connected content use cases. Many APIs require arrays in the request, however I haven't able to make these types of requests in Braze. I would like to make a request with this body structure: { "model": "sonar-pro", "messages": [ { "role": "system", "content": "Be precise and concise." }, { "role": "user", "content": "How many stars are there in our galaxy?" } ], "max_tokens": 123, "temperature": 0.2 } For context, this is a request to Perplexity API. So far, in testing through webhook.site I haven't been able to properly make this request. I have gotten close using some complex url-encoding but its not 100%. Is there any known limitation of using arrays within the body of requests or a solution/workaround to this issue? Cheers!32Views0likes0CommentsPUSH TOKENS
Hi I'm trying send test to my flutter APP but I'm facing this issue None of the selected users have matching push tokens for Android Push. This exact same config worked just a day ago, but I had to reinstall the app after modifications, now I'm running into this error anyone who could help would be much appreciated68Views0likes0CommentsLiquid Date Formatting for API-Triggered Properties
I'm trying to format the date and time on our transactional appt confirmation emails. I found a formula that worked perfectly when I used a date field from Braze, but when I plug this same formula in with a property from an API trigger, it doesn't work. Here's the liquid logic and output for a custom attribute date field stored on the user profile (correct result): And here's the liquid script used with the API-triggered property and the output I get with that one (incorrect result): Does anyone know what might be causing this?95Views1like5CommentsUser Data Export with callback endpoint
Hey hey! Hope y'all doing well. Has anyone ever exported User Data using not currents but a callback endpoint? I'm currently trying to automate exporting user data from a given segment using a callback endpoint. I'm using a Pub/Sub topic in GCP to do this. The problem is that I don't fully understand the mechanisms on how Braze publishes the URL to download the folder containing the user data in the payload response, after the API call. For example, if I'm exporting a big segment (10k+), the response from Braze is immediate: { "message": "success", "object_prefix": "812ad47c-451b-4d0a-b158-6d33713ba07b-1734705464", "url": null } But the URL is still not available (probably due to the size of the segment). My idea was to set a Pub/Sub topic which would be populated with the URL once it is ready, but I don't know what is the mechanism that Braze uses to update the URL in the payload response. I know it's a narrow specific problem, but any ideas, suggestions, or provocations would be of amazing enlightenment to me. Thank you!76Views0likes2CommentsHow to Use the standard user attribute in the Connected audience object filter
from the API side, I followed the document here to create an audience filter and send a message to the audience after this filter. But the document only mentions using custom attributes: { "custom_attribute": { "custom_attribute_name": (String) the name of the custom attribute to filter on, "comparison": (String) one of the allowed comparisons to make against the provided value, "value": (String, Numeric, Boolean) the value to be compared using the provided comparison } } also can I use standard user attributes, like `country` for example: { "attribute_name": "country", "comparison": "equals", "value": 'VN' }, I think Braze does support this, it's just missed from the document side, right? Thank you sou muchSolved138Views0likes7CommentsHow is Your Company Utilizing the Web SDK?
Hello! I'm currently exploring the use of Braze's Web SDK for our financial institution and would love to hear how others, especially those in similar industries, are leveraging it. One concern is that our online banking platform is managed separately, which could limit our ability to track member interactions or trigger personalized communications. Since we can't access their email unless they log into online banking, and it’s unlikely they would log in and then return to the main website, this may impact the effectiveness of our tracking and engagement efforts. For those using the Web SDK, do you primarily focus on tracking anonymous users? What kind of insights are you gathering? Any insights or advice would be greatly appreciated!75Views0likes2CommentsIs there a way to export audience data from a campaign?
Hello everyone! Is there any way to export the data of the Audience Settings from a campaign such as highlighted in the screenshot bellow? I would like to access this information for all campaigns using the Braze API. I found information about the campaigns (https://www.braze.com/docs/api/endpoints/export/campaigns/get_campaign_details) and segments (https://www.braze.com/docs/api/endpoints/export/segments/get_segment_details), but neither of these endpoints provide any information about the audiences or the relations between segments and campaigns.119Views0likes3Comments