---
title: "Campaign submission approved event"
method: POST
path: "campaign_submission.approved"
tags: ["Webhook Events"]
---

# Campaign submission approved event

`POST campaign_submission.approved` (webhook)

Fired when an operator approves a submission.

## Payload

- WebhookPayloadCampaignSubmission: Webhook payload for campaign submission events: - `campaign_submission.received`: fires for every accepted submission. - `campaign_submission.flagged`: fires when a submission gains a flag it did not carry before (at submission or on a later sync). `submission.flags` lists every flag it carries. - `campaign_submission.pending_review`: fires when the submission becomes ready for the operator's review. - `campaign_submission.approved` and `campaign_submission.rejected`: fire on the operator's decision.
  - `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` 'campaign_submission.received' | 'campaign_submission.flagged' | 'campaign_submission.pending_review' | 'campaign_submission.approved' | 'campaign_submission.rejected', required
  - `campaign` object, required
    - `id` string, required
    - `name` string, required
  - `participant` object, required
    - `id` string, required
  - `creator` object, required
    - `id` string, required
    - `displayName` string, required
  - `submission` object, required
    - `id` string, required
    - `platform` string, required
    - `platformPostId` string, required
    - `platformPostUrl` string, nullable, required
    - `status` string, required
    - `viewsAtSubmission` integer, nullable, required
    - `viewsEligible` integer, nullable, required: Views that count toward earnings at the latest read.
    - `engagementsLatest` integer, nullable, required: The campaign engagement types summed at the latest read. An engagements campaign earns on this count.
    - `viewsPaid` integer, nullable, required: Views from ads, on YouTube and X. Null elsewhere or before the first read.
    - `flags` object[], required
      - `code` string, required
      - `detail` string, required
  - `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)
