CLICampaign
Campaign
11 `hanzo` commands for Campaign, each calling one operation on api.hanzo.ai.
Package campaign is one go-to-market push across paid, organic and email at once.
11 commands · API reference →
| Command | Calls | What it does |
|---|---|---|
hanzo campaign channels rm <id> <kind> | DELETE /v1/campaign/{id}/channels/{kind} | Drops one channel from a campaign and returns the updated campaign. |
hanzo campaign channels create <id> | POST /v1/campaign/{id}/channels | Adds a channel to a campaign, or REPLACES the one it already has of that kind, and returns the updated campaign. |
hanzo campaign launch <id> | POST /v1/campaign/{id}/launch | Launch a campaign across every channel it declares |
hanzo campaign metrics <id> | GET /v1/campaign/{id}/metrics | Returns a campaign's results over a window: the analytics funnel (impressions, clicks, conversions, revenue, visitors),… |
hanzo campaign pause <id> | POST /v1/campaign/{id}/pause | Pause every live channel on a campaign at its provider |
hanzo campaign get <id> | GET /v1/campaign/{id} | Returns one campaign of the caller's org — its name, audience, creatives, channels with their per-channel launch state,… |
hanzo campaign set <id> | PUT /v1/campaign/{id} | Rewrites a campaign's core fields — name, audience, creatives, schedule and budget — and returns the updated campaign. |
hanzo campaign rm <id> | DELETE /v1/campaign/{id} | Removes one campaign of the caller's org and answers 204 with no body. |
hanzo campaign summary | GET /v1/campaign/summary | Returns the org's go-to-market roll-up: how many campaigns exist, how many are live, their total budget in cents, and… |
hanzo campaign list | GET /v1/campaign | Returns the org's campaigns, newest first, optionally narrowed to one status. |
hanzo campaign create | POST /v1/campaign | Creates a campaign as a DRAFT and returns it. |
How is this guide?