curl --request GET \
--url https://api.hyperline.co/v1/customers/segments \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"rules": [
{
"id": "<string>",
"operator": "and",
"conditions": [
{
"field": "country",
"operator": "in",
"value": [
"FR"
]
}
]
}
],
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}
]
}Retrieve all customer segments.
curl --request GET \
--url https://api.hyperline.co/v1/customers/segments \
--header 'Authorization: Bearer <token>'{
"meta": {
"total": 1,
"taken": 1,
"skipped": 0
},
"data": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"rules": [
{
"id": "<string>",
"operator": "and",
"conditions": [
{
"field": "country",
"operator": "in",
"value": [
"FR"
]
}
]
}
],
"created_at": "2023-12-25",
"updated_at": "2023-12-25"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
0 <= x <= 100x >= 0Was this page helpful?