Hanzo
OpenapiCampaign

Returns the org's go-to-market roll-up: how many campaigns exist, how many are…

Returns the org's go-to-market roll-up: how many campaigns exist, how many are live, their total budget in cents, and which channel executors this…

GET /v1/campaign/summary

Addresshttps://api.hanzo.ai/v1/campaign/summary
MethodGET
Operationget_campaign_summary
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the org's go-to-market roll-up: how many campaigns exist, how many are live, their total budget in cents, and which channel executors this deployment can actually reach.

The channel list is the deployment's honest capability, not a wish: a kind missing from it is one a launch will record as "unavailable" rather than fail on.

Request

GET /v1/campaign/summary takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200campaignSummaryok

200 body — 4 fields.

FieldInTypeAlwaysDescription
budgetbodyintegerBudget is the sum of every campaign's budget, in CENTS.
campaignsbodyintegerCampaigns is how many campaigns the org has, in any state.
channelsbodystring[]Channels are the channel kinds this deployment has an executor wired for.
livebodyintegerLive is how many of them are currently live.

Failure carries the platform error shape — see Errors.

Examples

hanzo campaign summary

Campaign API · All Hanzo APIs · Interactive reference

How is this guide?

On this page