cURL
curl --request GET \ --url https://api.sandbox.asapp.com/configuration/v1/segments \ --header 'asapp-api-id: <api-key>' \ --header 'asapp-api-secret: <api-key>'
{ "segments": [ { "id": "USER_SUPPORT", "name": "Support", "query": { "type": "raw", "raw": "TRUE" } } ], "nextCursor": "CHAT", "prevCursor": "" }
Retrieves a list of all segments.
The cursor pointing to the current position
The maximum amount of objects to retrieve
1 <= x <= 100
Get all segments.
Response for get segments.
Was this page helpful?