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

# Create manage user

> Create an EcoMail Hub user and mark the email as verified.



## OpenAPI

````yaml /api/ecomailhub.openapi.yaml post /consumer-response-managers
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:
  /consumer-response-managers:
    post:
      tags:
        - Manage Users
      summary: Create manage user
      description: Create an EcoMail Hub user and mark the email as verified.
      operationId: ecomailhubCreateManageUser
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoreManageUserRequest'
            example:
              name: Jane Manager
              email: jane.manager@example.com
              password: Password123!
              phone_no: '9005090050'
      responses:
        '201':
          description: Manage user created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManageUserMutationResponse'
              example:
                message: Consumer response manager created.
                data:
                  id: 13
                  name: Jane Manager
                  email: jane.manager@example.com
                  email_verified_at: '2026-01-01T12:00:00.000000Z'
                  phone_no: '9005090050'
                  phone_no_label: (900) 509-0050
                  is_current_user: false
                  actions:
                    can_edit: true
                    can_delete: true
                  created_at: '2026-01-01T12:00:00.000000Z'
                  updated_at: '2026-01-01T12:00:00.000000Z'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '422':
          $ref: '#/components/responses/ValidationError'
      security:
        - bearerAuth: []
components:
  schemas:
    StoreManageUserRequest:
      type: object
      required:
        - name
        - email
        - password
      properties:
        name:
          type: string
          maxLength: 255
          example: Jane Manager
        email:
          type: string
          format: email
          maxLength: 255
          example: jane.manager@example.com
        password:
          type: string
          format: password
          description: Must satisfy the configured Laravel password defaults.
          example: Password123!
        phone_no:
          type:
            - string
            - 'null'
          description: Optional US phone number.
          example: '9005090050'
    ManageUserMutationResponse:
      type: object
      required:
        - message
        - data
      properties:
        message:
          type: string
          example: Consumer response manager updated.
        data:
          $ref: '#/components/schemas/EcomailhubManageUser'
    EcomailhubManageUser:
      type: object
      required:
        - id
        - name
        - email
        - email_verified_at
        - phone_no
        - phone_no_label
        - is_current_user
        - actions
        - created_at
        - updated_at
      properties:
        id:
          type: integer
          example: 13
        name:
          type: string
          example: Jane Manager
        email:
          type: string
          format: email
          example: jane.manager@example.com
        email_verified_at:
          type:
            - string
            - 'null'
          format: date-time
          example: '2026-01-01T12:00:00.000000Z'
        phone_no:
          type:
            - string
            - 'null'
          description: Raw phone value used by edit forms.
          example: '9005090050'
        phone_no_label:
          type: string
          description: Display-ready phone value or N/A when blank.
          example: (900) 509-0050
        is_current_user:
          type: boolean
          example: false
        actions:
          type: object
          required:
            - can_edit
            - can_delete
          properties:
            can_edit:
              type: boolean
              example: true
            can_delete:
              type: boolean
              example: true
        created_at:
          type:
            - string
            - 'null'
          format: date-time
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
    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
  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

````