> ## 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 schedule reports

> List EcoMail Hub scheduled reports owned by the authenticated user.



## OpenAPI

````yaml /api/ecomailhub.openapi.yaml get /schedule-reports
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:
  /schedule-reports:
    get:
      tags:
        - Reports
      summary: List schedule reports
      description: List EcoMail Hub scheduled reports owned by the authenticated user.
      operationId: ecomailhubListScheduleReports
      parameters:
        - name: search
          in: query
          required: false
          schema:
            type: string
            maxLength: 255
          description: Search by report type or frequency.
        - name: sort
          in: query
          required: false
          schema:
            type: string
            enum:
              - created_on
              - report_type
              - frequency
              - pause
              - last_sent_at
            default: created_on
        - 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: 15
      responses:
        '200':
          description: Schedule reports returned.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/EcomailhubScheduleReportCollectionResponse
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '422':
          $ref: '#/components/responses/ValidationError'
      security:
        - bearerAuth: []
components:
  schemas:
    EcomailhubScheduleReportCollectionResponse:
      type: object
      required:
        - data
        - pagination
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/EcomailhubScheduleReport'
        pagination:
          $ref: '#/components/schemas/Pagination'
    EcomailhubScheduleReport:
      type: object
      required:
        - id
        - report_type
        - frequency
        - emails
        - pause
        - last_sent_at
        - created_at
        - updated_at
      properties:
        id:
          type: integer
          example: 42
        report_type:
          $ref: '#/components/schemas/EcomailhubReportTypeOption'
        frequency:
          $ref: '#/components/schemas/EcomailhubScheduleReportFrequencyOption'
        emails:
          type: array
          items:
            type: string
            format: email
          example:
            - reports@example.com
            - admin@example.com
        pause:
          type: boolean
          example: false
        last_sent_at:
          type:
            - string
            - 'null'
          format: date-time
          example: '2026-07-05T12:00:00.000000Z'
        created_at:
          type:
            - string
            - 'null'
          format: date-time
          example: '2026-07-05T12:00:00.000000Z'
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
          example: '2026-07-05T12: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
    EcomailhubReportTypeOption:
      type: object
      required:
        - value
        - label
        - requires_date_range
      properties:
        value:
          type: string
          enum:
            - creditor_profiles
            - notice_responses
            - consumer_profiles
        label:
          type: string
          enum:
            - Creditor Profiles
            - Notice Responses
            - Consumer Profiles
        requires_date_range:
          type: boolean
          example: true
    EcomailhubScheduleReportFrequencyOption:
      type: object
      required:
        - value
        - label
      properties:
        value:
          type: string
          enum:
            - daily
            - weekly
            - monthly
        label:
          type: string
          enum:
            - Daily
            - Weekly
            - Monthly
  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

````