TwilioInsights

Retrieve paginated query results

Retrieve subsequent pages of a synchronous query using a page token.

get/v3/InsightsDomains/Conversations/Query

Query parameters

pageTokenstring required
Example:eyJwYWdlIjoyLCJxdWVyeSI6ImJvb2tzIn0=

Pagination token

Response

Successful query response

domainstring

Indicates the business domain the query was executed against

itemsobject[]

Array of result objects containing the query results. Each object contains properties matching the requested measures and dimensions.

Example response

{
  "domain": "Insights",
  "items": [
    {
      "Id": "conv1",
      "Languages": [
        "en"
      ],
      "Channels": [
        "voice"
      ],
      "OperatorResult.Value": "positive"
    },
    {
      "Id": "conv2",
      "Languages": [
        "en",
        "es"
      ],
      "Channels": [
        "chat"
      ],
      "OperatorResult.Value": "negative"
    }
  ],
  "meta": {
    "key": "items",
    "pageSize": 20,
    "previousToken": "eyJwYWdlIjowLCJxdWVyeSI6ImJvb2tzIn0=",
    "nextToken": "eyJwYWdlIjoyLCJxdWVyeSI6ImJvb2tzIn0="
  }
}

Changes

No recorded changes to this endpoint across all 4 revisions of this API.