List campaigns
Campaigns
List Campaigns
Retrieve a paginated list of campaigns with optional filters.
GET
List campaigns
Use this endpoint to retrieve a paginated list of campaigns with optional filters.
API Endpoint
GET/api/v1/global/campaign-list
Base URL: https://www.tryunleashx.com
Authentication: Required (Token header: token or api_access_token)
Query Parameters
Workspace Scope
By default the list is scoped to the workspace the API token belongs to. Passingworkspace_id overrides that, which is how a company-level token reads another
workspace’s campaigns:
?workspace_id=293— campaigns of workspace 293 only?workspace_id=[293,294]— campaigns of both workspaces
workspace_id
belonging to another company returns no records. Use
List Workspaces to discover the ids
you can pass here.
Campaign Status Values
Success Response
Status Code:200 OK
Response Fields
Campaign Object
Pagination Object
Notes
campaign_statusdefaults to all statuses exceptdeleted.- A campaign is automatically labeled Completed in
campaign_status_nameif itsend_datehas passed. The numericcampaign_statusis unchanged. progressis formatted ascalled/totalaudience count.workspace_id/workspace_nameare returned only for API-token (global) requests.- Results are ordered by creation date, newest first.
Example cURL
Campaigns of the token’s own workspace
Campaigns of a specific workspace
Campaigns across multiple workspaces
Headers
API token for authentication
Query Parameters
Page number (default: 1)
Records per page (default: 10)
Filter by agent ID
Partial name search (LIKE)
Filter by status. Accepts a single value or a JSON array such as ["draft","inprogress"]. Defaults to all except deleted.
Available options:
draft, inprogress, hold, pause, force_completed, deleted Workspace scope override. Accepts a single id (293), a JSON array ([293,294]) or a comma-free JSON string. When omitted the token's own workspace is used. Always restricted to the token's company.

