Segment list
You can get all segments you have access to using this call https://openapi.sirdata.io/customer/#tag/segment
1
fetch("https://gateway.sirdata.io/api/v1/public/customer/segment", {
2
"method": "GET",
3
"headers": {
4
"x-api-token": "XXXXX-XXXXX-XXXXX-XXXXX",
5
}
6
})
7
.then(response => {
8
console.log(response);
9
})
10
.catch(err => {
11
console.error(err);
12
});java
Copied!
Copy link