Get audience segments with the Flow REST API.

Details

This API call provides a way to load a list of segments created in Flow. The segment is a list of your bot's contacts that are grouped by one or multiple conditions. Learn more 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
Language