Campaigns
List campaigns
List the campaigns of the workspaces the key can reach.
GET
List campaigns
Needs
campaigns:read. See Permissions.data, and not paged).
workspace_idkeeps one workspace’s campaigns.statuskeeps the campaigns that have that status now:DRAFT,SCHEDULED,ACTIVE,COMPLETEDorCANCELLED, in capitals.
SCHEDULED until start_date, ACTIVE until end_date, then COMPLETED. DRAFT and CANCELLED are holds that stay until the campaign is changed. The filter matches the status the answer shows, so a campaign that started since it was saved is found with status=ACTIVE.
start_date and end_date are in the workspace’s timezone, as Y-m-d H:i. Each campaign carries its workspace: the object List workspaces gives, with no accounts or brand_voice.
Reading campaigns works on every plan. Creating and editing them is on paid plans: on Free, campaigns made while the owner paid can still be read, deleted and taken off posts, but no other post can be put in them.
Errors
Related
- Create a campaign: add one.
- Create a post: put a post in a campaign with
campaign_id.
Authorizations
Query Parameters
Response
The campaigns.
SCHEDULED until start_date, ACTIVE until end_date, then COMPLETED: these follow the dates when the campaign is read. DRAFT and CANCELLED are holds set on the campaign, which stay until it is changed. The status only describes the campaign: it doesn't hold back or send its posts.
Available options:
DRAFT, SCHEDULED, ACTIVE, COMPLETED, CANCELLED The campaign's workspace, as List workspaces gives it, with no accounts or brand_voice.