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

# Export manage consumer notice responses

> Export all notice-response table rows for the selected EcoMail Hub grouped consumer identity as CSV. Sort and direction are applied; pagination params are accepted for shared table controls but the export is not paginated.



## OpenAPI

````yaml /api/ecomailhub.openapi.yaml get /manage-consumers/{consumer}/notice-responses/export
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:
  /manage-consumers/{consumer}/notice-responses/export:
    get:
      tags:
        - Manage Consumers
      summary: Export manage consumer notice responses
      description: >-
        Export all notice-response table rows for the selected EcoMail Hub
        grouped consumer identity as CSV. Sort and direction are applied;
        pagination params are accepted for shared table controls but the export
        is not paginated.
      operationId: ecomailhubExportManageConsumerNoticeResponses
      parameters:
        - name: consumer
          in: path
          required: true
          schema:
            type: integer
          description: Representative consumer ID from the manage consumers list.
        - name: sort
          in: query
          required: false
          schema:
            type: string
            enum:
              - response-date
              - consumer-name
              - account-number
              - notice-balance
              - response-type
              - creditor-member-status
              - creditor-response-status
            default: response-date
        - 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
          description: Accepted for shared table controls; ignored by the export.
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
          description: Accepted for shared table controls; ignored by the export.
      responses:
        '200':
          description: Notice responses CSV returned.
          headers:
            Content-Disposition:
              schema:
                type: string
              description: >-
                Attachment filename in the form
                notice_responses_YYYY_MM_DD_HH_MM_SS.csv.
          content:
            text/csv:
              schema:
                type: string
              example: >
                "Response Date","Consumer Name","Sender Company Name","Account
                Number","Notice Balance","Response Type","Creditor Member
                Status","Creditor Response Status"

                "Jan 01, 2026","Donna Weaver","YN Prospect
                Sender",ACC-100,$150.75,"Settlement Offer","Yn
                Prospect",Pending/Delivery
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
      security:
        - bearerAuth: []
components:
  responses:
    Unauthenticated:
      description: Missing or invalid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MessageResponse'
          example:
            message: Unauthenticated.
    NotFound:
      description: Requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MessageResponse'
          example:
            message: Not Found.
    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.
  schemas:
    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
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Sanctum

````