List campaigns in the workspace with optional filtering by status, search, sorting, and pagination.
| Parameter | Default | Notes |
|---|---|---|
campaign_status | — | Filter by status: scheduled, active, paused, ended, cancelled |
search | — | Search campaigns by name |
sort_by | created_at | Field to sort results by |
sort_order | desc | asc or desc |
limit | 10 | Results per page (max 100) |
offset | 0 | Number of results to skip for pagination |
next_page_uri and prev_page_uri for navigating pages. Both are null when there is no adjacent page.
To fetch the next page, increment offset by limit or follow next_page_uri directly.Campaign lifecycle status: scheduled → active → ended. Can be paused or cancelled at any point.
ended, active, paused, scheduled, cancelled Number of records to skip
x >= 0Number of records to return (max 100)
1 <= x <= 100Field to sort by
Sort order (asc or desc)
Search query string
Successful Response
Paginated list of campaigns.
List of campaigns on this page
Total number of campaigns matching the query
Maximum number of items per page
Number of items skipped
URI to fetch the next page, or null if this is the last page
URI to fetch the previous page, or null if this is the first page