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

# Campaign draft approved event

`POST campaign_draft.approved` (webhook)

You approved a draft version.

### Effect

The creator can now publish it and submit the post with its `draftId`.

## Payload

- WebhookPayloadCampaignDraft: Webhook payload for `campaign_draft.submitted`, `campaign_draft.approved`, `campaign_draft.revision_requested` and `campaign_draft.rejected`. `draft` is the version the event is about; `draft.status` is its status after the change.
  - `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_draft.submitted' | 'campaign_draft.approved' | 'campaign_draft.revision_requested' | 'campaign_draft.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
  - `draft` object, required
    - `id` string, required
    - `chainId` string, required
    - `version` integer, required
    - `revisionOf` string, nullable, required
    - `status` 'submitted' | 'approved' | 'revision_requested' | 'rejected', required
    - `mediaUrl` string, required
    - `mediaType` 'video' | 'image', required
    - `caption` string, required
    - `reviewNote` string, nullable, required: The revision note or the rejection reason.
    - `comments` object[], required
      - `atMs` integer, nullable, required: Milliseconds into the video; null for a general comment.
      - `body` 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/a79c233ebf22?raw)
