Skip to main content
GET
List Campaigns (Analytics)

Overview

The list campaigns endpoint returns a paginated list of campaigns with aggregated analytics (messages, cost, revenue, orders, conversion rate, ROAS, open rate) within an optional date range. Results can be filtered by type. Results are ordered by campaign creation date (newest first).

Authentication

This endpoint requires a valid JWT token in the x-auth-token header. You can find your token in the Developers section:

Query Parameters

string
Start date for filtering results (ISO 8601). Defaults to 2022-01-01 if omitted.
string
End date for filtering results (ISO 8601). Defaults to now if omitted.
string
Type of assets: campaigns or outbound-automations. When outbound-automations, includes flows and outbound automations.
string
required
Page number (0-based). Use 0 for the first page.
string
required
Number of items per page. Must be at least 1.

Response

The response has two top-level keys: data (array of campaign analytics) and pagination. Each item in data includes:
string
Campaign (or asset) ID
object
Campaign document (name, createdAt, etc.)
number
Total messages sent for this campaign in the date range
number
Total cost in cents
number
Attributed revenue
number
Number of attributed orders
number
Conversion rate (orders / messages) as a percentage
number
Average order value (revenue / orders)
number
Return on ad spend (revenue / cost)
number
Open rate (read / delivered+read) as a percentage
string
Asset type: campaigns or outbound-automations
number
Number of unique conversations
Pagination object: total (total count), perPage, page.