The number of segment when GET api is called.

Posted in General by sophia Wed Feb 13 2019 05:24:17 GMT+0000 (Coordinated Universal Time)·1·Viewed 195 times

Hello, We have saved about 80 segments which is account level segments in sandbox. And we called GET API to get all of them. But the response have only 50 segments. How can we get all of the segments ? Or Is there limitation to get the all of them? If there is the policy of the segment, please let me know. Thanks in advacne.
Feb 13, 2019

By default the API always returns 50 rows. You can add "rows":100 to the request to get more, or "rows":"all" to get your account's max, which is usually 5,000.

Markdown is allowed