SDKs and APIs
45 TopicsiOS Braze SDK and Content Card Data Questions
Hello there! Quite a newbie here in Braze Bonfire. Hopefully someone knows something about the question I have: We have an iOS mobile app created using Swift and we are in the process of implementing content cards via Braze SDK. What we noticed is Braze SDK didn't have the content card data on our first call to Braze SDK even when I already called the cancellable stated in this documentation. Only when we do further calls to requestRefresh() it is only then we are able to get content card data. Has anyone experienced this before and is there a way to do it in such a way that when you do a first call to SDK and a first call to requestRefresh() will have the content card data ready for fetching? Thanks!12Views0likes0Comments- 63Views0likes3Comments
Need 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!74Views0likes4CommentsBraze 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.79Views0likes4CommentsManage 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?79Views1like3CommentsJSON 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!48Views0likes0CommentsPUSH 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 appreciated153Views0likes0CommentsLiquid 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?159Views1like5CommentsUser 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!92Views0likes2CommentsHow 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 muchSolved164Views0likes7Comments