v2

latestOpenAPI 3.1.02026-07-273779120.8 KB
Campaign Stats
Stats

Conversation Outcome Mapping Stats

Get conversation counts bucketed by outcome category and sub category, based on the team's configured outcome mapping for the given template.

  • template: Outcome mapping template to bucket outcomes by.
  • start / end: ISO 8601 date range filter applied to conversation start time.

Returns an empty list if the team has no outcome mapping configured yet.

get/campaigns/v1/stats/outcomes/{template}

Path parameters

template'template_v1' required

Outcome mapping template to bucket outcomes by

Query parameters

sizeinteger

Number of items per page

Number of items per page

pageinteger

Page number

Page number

searchstring nullable

Search keywords

Search keywords

startstring date-time nullable

Filter by start time (ISO 8601 format)

Filter by start time (ISO 8601 format)

endstring date-time nullable

Filter by end time (ISO 8601 format)

Filter by end time (ISO 8601 format)

Response

Conversation counts grouped by outcome category and sub category

messagestring required

Result description

Example response

{
  "message": "Stats fetched successfully."
}