> ## Documentation Index
> Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Refresh campaign tracker

> Recalculate sent, delivered, viewed, offer, and dispute/no-pay counts for an owned superadmin campaign tracker.



## OpenAPI

````yaml /api/superadmin.openapi.yaml post /communications/campaign-trackers/{campaignTracker}/refresh
openapi: 3.1.0
info:
  title: YouNegotiate Superadmin API
  version: '2.0'
  description: Stateless API endpoints for the Superadmin portal.
servers:
  - url: https://api.hub.younegotiate.com
    description: Production
security: []
tags:
  - name: System
    description: Public superadmin domain system and health endpoints.
  - name: Authentication
    description: Superadmin login, logout, password reset, and password change endpoints.
  - name: Profile
    description: Authenticated superadmin profile endpoints.
  - name: Admin Configuration
    description: Platform configuration values and feature flag controls.
  - name: MailHub Users
    description: Superadmin management for EcoMail Hub / EcoPortal users.
  - name: Super Admin Users
    description: Superadmin management for platform operations users.
  - name: Consumers
    description: Superadmin consumer account list, detail, filter, and export endpoints.
  - name: Creditors
    description: Superadmin creditor account list and account access endpoints.
  - name: Sub Accounts
    description: Superadmin sub account list and export endpoints.
  - name: Reseller Partners
    description: Superadmin reseller partner list and report-history endpoints.
  - name: Special Plan Inquiries
    description: >-
      Superadmin special membership inquiry list, detail, resolve, and close
      endpoints.
  - name: Plans
    description: >-
      Superadmin membership plan list, create, update, reorder, visibility, and
      delete endpoints.
  - name: Failed - Canceled
    description: Superadmin failed or cancelled membership list and custom email endpoints.
  - name: Merchant Requests
    description: >-
      Superadmin merchant API request list, export, email, forwarding, progress,
      and approval endpoints.
  - name: Bill Pay Donations
    description: Superadmin Bill Pay gift donation list, export, and receipt endpoints.
  - name: Export & Reporting
    description: Superadmin generated report options and CSV download endpoints.
  - name: Communications / Templates
    description: >-
      Superadmin email and SMS template management for manual communications and
      campaigns.
  - name: Communications / Groups
    description: >-
      Superadmin communication group management for dynamic consumer targeting
      and campaign selection.
  - name: Communications / Schedule Campaign
    description: >-
      Superadmin email and SMS campaign scheduling, immediate send, and delivery
      queue endpoints.
  - name: Communications / Campaign Tracker
    description: >-
      Superadmin campaign tracker snapshots, refresh actions, and consumer
      exports.
  - name: Automated Communications
    description: >-
      Superadmin automated email/SMS templates, trigger configuration, and
      delivery history endpoints.
paths:
  /communications/campaign-trackers/{campaignTracker}/refresh:
    parameters:
      - name: campaignTracker
        in: path
        required: true
        description: Campaign tracker ID.
        schema:
          type: integer
    post:
      tags:
        - Communications / Campaign Tracker
      summary: Refresh campaign tracker
      description: >-
        Recalculate sent, delivered, viewed, offer, and dispute/no-pay counts
        for an owned superadmin campaign tracker.
      operationId: superadminRefreshCampaignTracker
      responses:
        '200':
          description: Campaign tracker refreshed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuperAdminCampaignTrackerRefreshResponse'
              example:
                message: Campaign tracker refreshed.
                data:
                  id: 501
                  sent_count: 22
                  delivered_count: 20
                  viewed_count: 10
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - bearerAuth: []
components:
  schemas:
    SuperAdminCampaignTrackerRefreshResponse:
      type: object
      required:
        - message
        - data
      properties:
        message:
          type: string
          example: Campaign tracker refreshed.
        data:
          $ref: '#/components/schemas/SuperAdminCampaignTracker'
    SuperAdminCampaignTracker:
      type: object
      required:
        - id
        - date_sent
        - template
        - group
        - total_balance
        - total_balance_label
        - consumer_count
        - sent_count
        - delivered_count
        - viewed_count
        - accepted_settlement_offer_count
        - accepted_plan_offer_count
        - sent_offer_count
        - disputed_no_pay_count
      properties:
        id:
          type: integer
          example: 501
        date_sent:
          type: string
          format: date-time
          nullable: true
          example: '2026-06-14T10:30:00.000000Z'
        template:
          oneOf:
            - $ref: '#/components/schemas/SuperAdminCampaignTemplateSummary'
            - type: 'null'
        group:
          oneOf:
            - $ref: '#/components/schemas/SuperAdminCampaignGroupSummary'
            - type: 'null'
        total_balance:
          oneOf:
            - type: string
            - type: number
          example: '1250.75'
        total_balance_label:
          type: string
          example: $1,250.75
        consumer_count:
          type: integer
          example: 25
        sent_count:
          type: integer
          description: Number of campaign recipients sent.
          example: 22
        delivered_count:
          type: integer
          description: Number of campaign recipients delivered.
          example: 20
        viewed_count:
          type: integer
          description: Number of campaign recipients viewed.
          example: 10
        accepted_settlement_offer_count:
          type: integer
          example: 3
        accepted_plan_offer_count:
          type: integer
          example: 2
        sent_offer_count:
          type: integer
          example: 5
        disputed_no_pay_count:
          type: integer
          example: 1
        created_at:
          type: string
          format: date-time
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
    MessageResponse:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    SuperAdminCampaignTemplateSummary:
      type: object
      required:
        - id
        - name
        - type
      properties:
        id:
          type: integer
          example: 10
        name:
          type: string
          example: Settlement Email
        type:
          $ref: '#/components/schemas/SuperAdminCampaignTemplateTypeSelection'
    SuperAdminCampaignGroupSummary:
      type: object
      required:
        - id
        - name
      properties:
        id:
          type: integer
          example: 25
        name:
          type: string
          example: Delivered January Group
    SuperAdminCampaignTemplateTypeSelection:
      type: object
      required:
        - value
        - label
      properties:
        value:
          $ref: '#/components/schemas/SuperAdminCampaignTemplateType'
        label:
          type: string
          example: Email
    SuperAdminCampaignTemplateType:
      type: string
      enum:
        - email
        - sms
  responses:
    Unauthenticated:
      description: Missing or invalid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MessageResponse'
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MessageResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Sanctum token

````