Forum Discussion
pcapazzi
9 months agoPractitioner
API to create/update Segments
Currently we have to manually create a segment to export users that meet a criteria. It would be great if we had an API endpoint to create/update segments to help manage and report on the data.
DavidO
Strategist II
Hi pcapazzi
Have you had a look at the Braze docs for APIs, there is quite a lot of good info in there? Here's a couple of links that are relevant for your use case:
API Segment Identifier
You will find the API identifiers search at the bottom of the Settings -- > APIs and Identifiers page
REST API Permissions --> then click on Segments
Let us know if this is what you are after. 😊
pcapazzi
9 months agoPractitioner
That is not what I'm after.
Currently we can only create a segment using the web UI. There is no API endpoint to create or update a segment. I'm suggesting developing an endpoint that can do this.
Currently we can do the following using APIs:
- List Existing Segments
- Get Definitions of Existing Segments
- Export User Data Identified in an Existing Segment
What we cannot do with segments via the API:
- Create a segment
- Update a segment (change the definition)
Related Content
- 9 months ago