API reference · version 1.0.0Fusio · public API
Loading the address list…
Addresses in this part
A short list of addresses. Click an address and we show it to you above.
- get/v1/campaigns/gridList campaigns in a tableReturns one page of campaigns with the filters and the sort you ask for.
- get/v1/campaigns/optionsList campaigns for a pickerReturns short items with the number and the name of each campaign. Use it to fill a picker.
- get/v1/campaigns/board/summaryCount campaigns in each statusReturns how many campaigns there are in each column of the board. A column is one status.
- get/v1/campaigns/board/{status}List campaigns of one statusReturns the campaigns of one board column, page by page. Pass nextCursor as cursor to get the next page.
- get/v1/campaigns/overviewShow campaign numbers for a time rangeReturns the numbers of your campaigns for the days you pick. Reach and clicks need read access to articles, emails and social posts, leads need leads.read, and deals and money need deals.read; without it, that part is null.
- get/v1/campaigns/overview/timelineShow campaigns on a timelineReturns the campaigns that run during the range, so you can draw them on a timeline.
- post/v1/campaigns/ai-analyzeAnalyse a campaign brief with AIAI reads your campaign brief and tells you the goal, the channels, the timing, the calls to action and the details that are still missing. Nothing is saved as a campaign; you can use the answer to fill in a new campaign.
- post/v1/campaigns/ai-planPlan a campaign with AIAI plans a campaign from your short brief, in the background. The answer is 202 with the number of a draft campaign; read it later to see the plan.
- post/v1/campaigns/ai-plan/estimateShow what AI planning of a campaign costsThis only tells the price. It spends nothing.
- post/v1/campaigns/{campaign}/ai-plan/retryPlan a campaign with AI againAI plans the campaign again in the background. The answer is 202.
- post/v1/campaigns/{campaign}/ai-adjustChange a campaign with AI from an instructionAI changes the campaign in place from your instruction. Through a key it can add generation slots or sources, move the schedule, pause the campaign and change approval. The answer lists what was applied and what was skipped.
- post/v1/campaigns/{campaign}/pausePause a campaignPauses an active campaign. Fusio stops making new content for it. The answer is the campaign in the same shape as campaigns.show.
- post/v1/campaigns/{campaign}/resumeResume a paused campaignMoves a paused campaign back to active. A campaign that Fusio paused before it ever started goes back to scheduled. Content planned for a time that passed during the pause is skipped.
- post/v1/campaigns/{campaign}/archiveArchive a campaignMoves the campaign to archived. It stops for good. When content still waits for approval, the people who approve get a message. The answer is the campaign in the same shape as campaigns.show.
- post/v1/campaigns/{campaign}/duplicateCopy a campaignCopies the campaign into a new draft that starts on startDate. The copy keeps the goal, channels, generation slots, audience, settings and approval rules. Every date moves by the difference between startDate and the start of the original.
- post/v1/campaigns/{campaign}/activateStart a campaignStarts a draft or scheduled campaign. Fusio first checks that the campaign is ready. When it is not, the answer is 422 with the list of problems in payload.issues.
- post/v1/campaigns/{campaign}/approveApprove a campaign and its contentApproves all content of the campaign that waits for approval and moves the campaign from draft to approved. It works only for a draft campaign; otherwise nothing changes. You must be one of the people who may approve.
- post/v1/campaignsCreate a campaignCreates a campaign with everything in one request: its sources, slots, tracking events, lead forms and calls to action. A new campaign is always draft; it does nothing until you activate it.
- get/v1/campaigns/{campaign}Show one campaignReturns the campaign with its sources, slots, destinations, calls to action, lead forms, tracking events and goal.
- put/v1/campaigns/{campaign}Change a campaignChanges only the fields you send.
- delete/v1/campaigns/{campaign}Delete a campaignMoves the campaign to the trash.