title: Marketing Campaign Statistics
type: object
required:
  - recipient_count
  - dispatch
  - delivery
  - opt_outs
  - links
properties:
  recipient_count:
    type: integer
    minimum: 0
    description: Fixed audience at launch. Before launch, all counts are zero.
  dispatch:
    type: object
    required:
      - remaining
      - accepted
      - held
      - failed
      - skipped
      - cancelled
      - uncertain
    properties:
      remaining:
        type: integer
        minimum: 0
        description: Pending recipients and authorized sends awaiting an outcome.
      accepted:
        type: integer
        minimum: 0
        description: Recipients with provider acceptance or a matching provider status.
      held:
        type: integer
        minimum: 0
        description: Recipients accepted by the provider and held for quality assessment.
      failed:
        type: integer
        minimum: 0
        description: Recipients whose dispatch ended in a definitive failure.
      skipped:
        type: integer
        minimum: 0
        description: Recipients skipped before a send was attempted.
      cancelled:
        type: integer
        minimum: 0
        description: Recipients whose pending dispatch was cancelled.
      uncertain:
        type: integer
        minimum: 0
        description: Recipients whose send may have been accepted. Matching provider evidence can resolve this outcome.
    description: Mutually exclusive dispatch outcomes. These counts sum to recipient_count.
  delivery:
    type: object
    required:
      - sent
      - delivered
      - read
      - failed
    properties:
      sent:
        type: integer
        minimum: 0
        description: Recipients with a recorded send milestone.
      delivered:
        type: integer
        minimum: 0
        description: Recipients with a recorded delivery milestone.
      read:
        type: integer
        minimum: 0
        description: Recipients with a recorded read milestone.
      failed:
        type: integer
        minimum: 0
        description: Recipients with a recorded provider delivery failure.
    description: Observed WhatsApp milestones. Counts may overlap and can update after dispatch completes.
  opt_outs:
    type: object
    required:
      - skipped
      - attributed
    properties:
      skipped:
        type: integer
        minimum: 0
        description: Recipients skipped because of an effective marketing opt-out. A subset of dispatch.skipped.
      attributed:
        type: integer
        minimum: 0
        description: Recipients with a provider opt-out attributed to this campaign’s send or callback.
  links:
    type: object
    required:
      - total_opens
      - unique_links_opened
    properties:
      total_opens:
        type: integer
        minimum: 0
        description: Successful GET redirects from recipient links, including repeated opens.
      unique_links_opened:
        type: integer
        minimum: 0
        description: Recipient link tokens opened at least once. Forwarded links and previews can contribute.
description: Whole-run statistics. Test sends are excluded.
x-tags:
  - Models
