Retrieve audience 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
Query Params
string

Optional parameter for enabling sync mode

Response

Language
Request
Choose an example:
application/json