Webhook events

metrics.updated

Fresh totals for an ad account.

Event type: metrics.updated.

When it fires

Fresh totals for an ad account. Hourly.

Envelope

Every event shares these top-level fields. The event-specific fields are under data.

FieldTypeRequiredDescription
idstringYesUnique event id. Deliveries are at-least-once, so dedupe on it.
type"metrics.updated"Yes
createdAtstring (date-time)Yes
apiVersion"v1"Yes
organizationIdintegerYes
brandIdinteger | nullYes
accountIdstring | nullYesThe ad account the event concerns.
providerstring | nullYesThe ad platform the event happened on. One of meta, whop.

Data

FieldTypeRequiredDescription
data.accountIdstringYes
data.datePresetstringYes
data.dateRangeobjectNo
data.dateRange.startstringYes
data.dateRange.endstringYes
data.totalBatchesnumberYes
data.batchesSamplednumberYes
data.batchesUnavailablenumberYes
data.totalSpendnumber | nullYesNull when the spend could not be read, never 0.
data.totalResultsnumber | nullYesNull when the results could not be read, never 0.
data.currencystring | nullNo
data.asOfstring (date-time)YesISO time of the live provider read behind these numbers.

Example payload

{
  "id": "evt_2xKq7Vb9mN4pR8sT",
  "type": "metrics.updated",
  "createdAt": "2026-09-19T14:30:00Z",
  "apiVersion": "v1",
  "organizationId": 1,
  "brandId": 1,
  "accountId": "string",
  "provider": "meta",
  "data": {
    "accountId": "string",
    "datePreset": "string",
    "dateRange": {
      "start": "string",
      "end": "string"
    },
    "totalBatches": 12.5,
    "batchesSampled": 12.5,
    "batchesUnavailable": 12.5,
    "totalSpend": 12.5,
    "totalResults": 12.5,
    "currency": "string",
    "asOf": "2026-09-19T14:30:00Z"
  }
}

Delivery headers

HeaderRequiredDescription
webhook-idYesThe delivery id; identical across retries of the same event. Dedupe on the envelope id.
webhook-timestampYesUnix seconds at signing time. Reject deliveries older than 5 minutes.
webhook-signatureYesSpace-separated v1,<base64 HMAC-SHA256> signatures (Standard Webhooks). Two are sent while a rotated secret overlaps.

Acknowledge

Your responseMeaning
2XXReturn any 2xx status to acknowledge the delivery.

Signing, retries and endpoint setup are in the Webhooks guide.

On this page