> ## 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.

# List communication campaign trackers

> List EcoMailHub campaign tracker snapshots with sorting and pagination.



## OpenAPI

````yaml /api/ecomailhub.openapi.yaml get /communications/campaign-trackers
openapi: 3.1.0
info:
  title: YouNegotiate EcoMail Hub API
  version: '2.0'
  description: Stateless API endpoints for EcoMail Hub / EcoPortal users.
servers:
  - url: https://api.ecomailhub.younegotiate.com
    description: Production
security: []
tags:
  - name: System
    description: Public EcoMail Hub domain system and health endpoints.
  - name: Authentication
    description: EcoMail Hub login, logout, password reset, and password change endpoints.
  - name: Profile
    description: Authenticated EcoMail Hub user profile endpoints.
  - name: Dashboard
    description: EcoMail Hub dashboard summary and notice-response bucket endpoints.
  - name: Manage Consumers
    description: >-
      EcoMail Hub consumer identity grouping and notice-response count
      endpoints.
  - name: Manage Creditors
    description: >-
      EcoMail Hub creditor profile and company-only member profile table
      endpoints.
  - name: Import Creditor Profiles
    description: EcoMail Hub creditor profile CSV import endpoints.
  - name: Manage Notice Response
    description: >-
      EcoMail Hub top-level notice-response review, reassignment, and close
      endpoints.
  - name: Manage Users
    description: EcoMail Hub user account management endpoints.
  - name: Reports
    description: EcoMail Hub one-time and scheduled CSV report endpoints.
  - name: Communications
    description: EcoMail Hub communication template editor endpoints.
paths:
  /communications/campaign-trackers:
    get:
      tags:
        - Communications / Campaign Tracker
      summary: List communication campaign trackers
      description: List EcoMailHub campaign tracker snapshots with sorting and pagination.
      operationId: ecomailhubListCommunicationCampaignTrackers
      parameters:
        - name: search
          in: query
          required: false
          schema:
            type: string
            maxLength: 255
          description: Search by template or group name.
        - name: sort
          in: query
          required: false
          description: >-
            Sort field. Kebab-case values match the portal table; snake-case
            aliases are accepted where available.
          schema:
            type: string
            default: sent-on
            enum:
              - sent-on
              - created_at
              - template-name
              - template_name
              - group-name
              - group_name
              - sent
              - delivered
              - viewed
        - name: direction
          in: query
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
      responses:
        '200':
          description: Campaign trackers returned.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/EcomailhubCommunicationCampaignTrackerCollectionResponse
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '422':
          $ref: '#/components/responses/ValidationError'
      security:
        - bearerAuth: []
components:
  schemas:
    EcomailhubCommunicationCampaignTrackerCollectionResponse:
      type: object
      required:
        - data
        - pagination
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/EcomailhubCommunicationCampaignTracker'
        pagination:
          $ref: '#/components/schemas/Pagination'
    EcomailhubCommunicationCampaignTracker:
      type: object
      required:
        - id
        - date_sent
        - template
        - group
        - creditor_profile_count
        - sent_count
        - delivered_count
        - viewed_count
        - created_at
        - updated_at
      properties:
        id:
          type: integer
          example: 501
        date_sent:
          type:
            - string
            - 'null'
          format: date-time
          example: '2026-07-06T12:00:00.000000Z'
        template:
          oneOf:
            - $ref: '#/components/schemas/EcomailhubCommunicationCampaignRelation'
            - type: 'null'
        group:
          oneOf:
            - $ref: '#/components/schemas/EcomailhubCommunicationCampaignRelation'
            - type: 'null'
        creditor_profile_count:
          type: integer
          example: 25
        sent_count:
          type: integer
          description: Number of recipient emails accepted by the mail provider.
          example: 22
        delivered_count:
          type: integer
          description: Number of recipient emails delivered by the mail provider.
          example: 20
        viewed_count:
          type: integer
          description: Number of recipient emails opened/viewed.
          example: 10
        created_at:
          type:
            - string
            - 'null'
          format: date-time
          example: '2026-07-06T12:00:00.000000Z'
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
          example: '2026-07-06T12:05:00.000000Z'
    Pagination:
      type: object
      required:
        - current_page
        - from
        - last_page
        - per_page
        - to
        - total
      properties:
        current_page:
          type: integer
          example: 1
        from:
          type:
            - integer
            - 'null'
          example: 1
        last_page:
          type: integer
          example: 1
        per_page:
          type: integer
          example: 25
        to:
          type:
            - integer
            - 'null'
          example: 1
        total:
          type: integer
          example: 1
    MessageResponse:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    ValidationErrorResponse:
      type: object
      required:
        - message
        - errors
      properties:
        message:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
    EcomailhubCommunicationCampaignRelation:
      type: object
      required:
        - id
        - name
      properties:
        id:
          type: integer
          example: 15
        name:
          type: string
          example: Welcome Creditor
  responses:
    Unauthenticated:
      description: Missing or invalid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MessageResponse'
          example:
            message: Unauthenticated.
    ValidationError:
      description: Request validation failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
          example:
            message: The given data was invalid.
            errors:
              email:
                - The email field is required.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Sanctum

````