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.
Segments list
Show child attributes
The next cursor to fetch
"6b29fc40-ca47-1067-b31d-00dd010662da"
The previous cursor to fetch
"04719ebd-13e1-40e9-8b92-0941cd16a19c"
Was this page helpful?