From Bright Pattern Documentation
Get campaigns
This returns the list of enabled campaigns, their current states, and calling lists associated with such campaigns.
URL
http[s]://<host>/admin/ws/t/<tenant_url>/campaign/getAll/
Method
GET
Returns
200 – Names of campaigns with current states and associated calling lists (content type: application/json)
Example
[ { "name": "CAMPAIGN1", "lists": ["LIST1", "LIST2"], "state": “RUNNING” }, … ]
If enabled campaigns do not exist, an empty array is returned.
Errors
400 – Bad request (missing mandatory fields or incorrect format)
401 – Authentication failed
403 – Authentication succeeded, but authorization failed (no privileges)