cURL
curl --request POST \ --url https://api.sandbox.asapp.com/configuration/v1/segments \ --header 'Content-Type: application/json' \ --header 'asapp-api-id: <api-key>' \ --header 'asapp-api-secret: <api-key>' \ --data '{ "id": "USER_SUPPORT", "name": "Support", "query": { "type": "raw", "raw": "TRUE" }, "structuredDataFieldIds": [] }'
{ "id": "USER_SUPPORT", "name": "Support", "query": { "type": "raw", "raw": "TRUE" }, "structuredDataFieldIds": [] }
Creates a new segment to organize structured data extraction based on conversation metadata.
segment
A segment consists of:
For example, you can create segments to:
Segment
Segment created.
Was this page helpful?