GET
/
customers
/
{id}
/
segments
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>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json

The segments the customer belongs to

The response is of type object.