Campaigns
Get a campaign
GET
/campaigns/{campaignId}One campaign: its status, its list, how many steps it has, and how many people are in each state.
Try itSend a real request with your API key
Path
campaignIdstringRequiredThe campaign.
Answer
200 OK The campaign.
dataCampaignRequiredInside it
idstringRequiredCampaign ID.
namestringRequiredstatusstringRequireddraft: not launched. active: running. paused: stopped by the owner. completed: finished. One of
draft,active,paused,completed.archivedbooleanRequiredArchived in Salesteam: hidden from the Campaigns list. Resuming brings it back.
listIdstring or nullRequiredThe lead list this campaign takes people from.
stepsintegerRequiredHow many steps the sequence has.
audienceintegerRequiredPeople in the campaign’s list.
leadsobjectRequiredInside it
totalintegerRequiredactiveintegerRequiredwaitingForAcceptanceintegerRequiredpausedintegerRequiredfinishedintegerRequiredrepliedintegerRequired
createdAtstring · date-timeRequiredupdatedAtstring · date-timeRequired
Errors
- 401 Unauthorized
unauthorized - 404 Not found
not_foundnot_in_campaign - 429 Too many requests
rate_limited - 500 Server error
server_error
Every error has the same shape. See Errors.