get https://api.flow.ai/rest/v1/broadcast/segments
Retrieve audience segments with the Flow REST API.
Details
This API call allows you to load a list of segments created in Flow. A segment is a group of your bot's contacts categorized by one or multiple criteria. For more information, learn about audience segments.
GET rest/v1/broadcast/segments?sync=true HTTP/1.1
Host: api.flow.ai
Content-Type: application/json
Authorization: MY_MESSAGING_API_KEY