Actual campaign cost
Returns the frozen completion cost snapshot pricing recipients whose deliveryStatus is delivered (read is reported separately and not double-counted).
- Returns
snapshotId,completedAt,billingRoute(DIRECT_METAorPLATFORM_1MSG), final estimatedtotal, and per-countrybreakdown[].lineTotalinUSD,BRL, andRUB. - Returns
404(CAMPAIGN_COST_SNAPSHOT_MISSING) when the campaign is notcompletedor has no cost snapshot (never a synthetic zero-money body).
These amounts are estimates. Volume tiers, free entry points, customer-service windows, and Meta from-to price bands are not modeled, so the figures can differ from Meta's invoice.
bearerAuthorizationBearer <API key>Key issued in Settings → Developer → API key. Inbox methods need the Inbox scope. Campaigns methods need the Campaigns scope.
campaignId*stringCampaign id returned by create or list.
application/json- response
campaignId*stringrateCardVersionId*stringActive whatsapp_list_rate_versions id used for this estimate.
templateCategory*string"MARKETING""UTILITY""AUTHENTICATION"billingRoute*stringChannel billing route: DIRECT_META (own WABA / BYOW) or PLATFORM_1MSG (1msg platform channel).
"DIRECT_META""PLATFORM_1MSG"total*Final estimated campaign cost in USD, BRL, and RUB.
breakdown*array<>snapshotId*stringcampaign_cost_snapshots id. Rates are the ones frozen at completion.
completedAt*stringWhen the snapshot was written, aligned with completion.
date-timecurl -X GET 'https://api.1msg.io/api/v1/campaigns/string/cost/actual'{ "campaignId": "cm3campaign01", "rateCardVersionId": "string", "templateCategory": "MARKETING", "billingRoute": "PLATFORM_1MSG", "total": { "usd": "0.0604", "brl": "0.3109", "rub": "4.9404" }, "breakdown": [ { "countryCode": "BR", "category": "MARKETING", "recipientCount": 10, "deliveredCount": 4, "lineTotal": { "usd": "0.0604", "brl": "0.3109", "rub": "4.9404" } } ], "snapshotId": "string", "completedAt": "2019-08-24T14:15:22Z"}