Webhook Events

Campaign created event

A campaign was created through Zernio (source: "zernio") or detected by the sync (source: "platform").

When it fires

Fires once the campaign row is recorded. A detected campaign arrives up to one sync interval late.

When it does not fire

History loaded when an account connects, and campaigns created more than 7 days ago, are never announced.

postWebhookcampaign.created

Payload

idstring required

Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.

testboolean

Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.

event'campaign.created' required
source'zernio' | 'platform' required

Where the campaign was created. zernio for campaigns created through Zernio, platform for campaigns the sync detected.

timestampstring date-time required

UTC time at which Zernio generated this event.

Example payload

{
  "profiles": [
    {
      "externalId": "tenant_42"
    }
  ],
  "account": {
    "platform": "tiktokads"
  }
}

Response

Webhook received successfully

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.