cURL
curl --request GET \ --url https://api.pocketflows.com/customers/{id}/segments \ --header 'Authorization: Basic <encoded-value>'
{ "segments": [ { "id": "<string>", "name": "<string>", "filter": "<string>", "static_customers": [ "<string>" ] } ] }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the customer
The segments the customer belongs to
Show child attributes
The ID of the segment
The name of the segment
The filter for this segment
The customers that are always included in this segment