---
title: "Creator campaign budget exhausted event"
method: POST
path: "creator_campaign.budget_exhausted"
tags: ["Webhook Events"]
---

# Creator campaign budget exhausted event

`POST creator_campaign.budget_exhausted` (webhook)

Fired once when a campaign's earnings reach its budget.

## Payload

- WebhookPayloadCreatorCampaign: Webhook payload for `creator_campaign.budget_exhausted` and `creator_campaign.closed`. `budget_exhausted` fires once, when the campaign's earnings first reach `campaign.budgetCents`, and carries `campaign.budgetExhaustedAt`. `closed` fires once, when the campaign closes, and carries `campaign.closedAt`.
  - `id` string, required: Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
  - `profiles` object[]: The profiles this event belongs to, each with the externalId you set on it (null when none is set). Use it to route the event to your tenant without storing Zernio profile ids. Present on every event tied to a profile, absent on events that belong to none. Events spanning several profiles (a post published to accounts of different profiles) list each once.
    - `id` string, required
    - `externalId` string, nullable, required
  - `test` boolean: Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
  - `event` 'creator_campaign.budget_exhausted' | 'creator_campaign.closed', required
  - `campaign` object, required
    - `id` string, required
    - `name` string, required
    - `budgetCents` integer, required
    - `budgetExhaustedAt` string, date-time: Present on creator_campaign.budget_exhausted only.
    - `closedAt` string, date-time: Present on creator_campaign.closed only.
  - `timestamp` string, date-time, required: UTC time at which Zernio generated this event (set once when the event payload is built, before delivery is queued). Retries and redeliveries keep the original value, so it reflects the event, not the delivery attempt.

## Acknowledgement `200`

Webhook received successfully

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) - [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/c319eb5d95b6?raw)
