get https://api.lytics.io/api/segment
Get list of Segments . Segments can refer to any Table.
The two main tables you will be working with are User and Content.
# Grab all segments from "user" table
curl "$LIOAPI/api/segment" -s -H "Authorization: $LIOKEY" | jq '.'
# Grab all "Content Collections" (ney, segments)
curl "$LIOAPI/api/segment?table=content" -s -H "Authorization: $LIOKEY" | jq '.'