Hanzo
OpenapiMarketing

Rolls up the caller org's campaigns: how many there are, how many are active,…

Rolls up the caller org's campaigns: how many there are, how many are active, and the summed budget and spend in cents.

GET /v1/marketing/summary

Addresshttps://api.hanzo.ai/v1/marketing/summary
MethodGET
Operationget_marketing_summary
AuthAuthorization: Bearer $HANZO_API_KEY

Rolls up the caller org's campaigns: how many there are, how many are active, and the summed budget and spend in cents.

Request

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

Response

StatusBodyMeaning
200Summaryok

200 body — 4 fields.

FieldInTypeAlwaysDescription
activebodyintegerActive is how many of them sit in the "active" state exactly.
budgetbodyintegerBudget is every campaign's budget summed, in USD cents.
campaignsbodyintegerCampaigns is how many campaigns the org has, counted in every lifecycle state including draft and completed.
spendbodyintegerSpend is every campaign's spend summed, in USD cents.

Failure carries the platform error shape — see Errors.

Examples

hanzo marketing summary

Marketing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page