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

# Confirm profile creation

> Confirm the no-match path from login and create a placeholder consumer profile. Use this only after the user confirms that they want to continue with the identity they entered.



## OpenAPI

````yaml /api/consumer.openapi.yaml post /auth/confirm-create
openapi: 3.1.0
info:
  title: YouNegotiate Consumer API
  version: '2.0'
  description: >-
    Stateless API endpoints for consumer portal authentication and account
    access.
servers:
  - url: https://api.consumer.younegotiate.com
    description: Production
security: []
tags:
  - name: System
    description: Public consumer domain system and health endpoints.
  - name: Authentication
    description: >-
      Consumer identity matching, contact capture, OTP verification, token
      creation, and logout endpoints.
  - name: Profile - My ecoAddress
    description: Consumer profile tab for signed-in identity / ecoAddress context.
  - name: Profile - Communication Controls
    description: >-
      Consumer profile tab for communication permissions, email/mobile changes,
      and email/mobile verification.
  - name: Profile - My Billing Details
    description: >-
      Consumer profile tab for billing name and billing address details used for
      payment verification.
  - name: Profile - Personalize My Portal
    description: Consumer profile tab for portal colors and profile image personalization.
  - name: Accounts
    description: Consumer-owned account list and account detail endpoints.
  - name: Bill Pay Wallet
    description: >-
      Consumer Bill Pay Wallet saved payment profiles and scheduled payment
      method update endpoints.
  - name: Upcoming Payments
    description: >-
      Consumer My Bill Pay Calendar upcoming-payment rows and calendar display
      data.
  - name: Calendar Sync
    description: >-
      Consumer Google and Microsoft calendar connection, OAuth callback, and
      live-update endpoints.
  - name: Gift Registry
    description: >-
      Consumer Bill Pay Gift Registry account list, shared registry, and Helping
      Hand link endpoints.
  - name: EcoMailbox
    description: Consumer MyEcoMailBox list endpoints and unread sidebar badge state.
  - name: Notice Responses
    description: >-
      Consumer My Account notice-response wizard endpoints for sender details
      and account details.
paths:
  /auth/confirm-create:
    post:
      tags:
        - Authentication
      summary: Confirm profile creation
      description: >-
        Confirm the no-match path from login and create a placeholder consumer
        profile. Use this only after the user confirms that they want to
        continue with the identity they entered.
      operationId: consumerConfirmCreate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmCreateConsumerRequest'
            example:
              attempt_token: consumer-attempt-token
      responses:
        '200':
          description: Consumer profile created and login flow opened.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfirmCreateConsumerResponse'
              example:
                message: Consumer profile created.
                flow_token: consumer-flow-token
                requires_contact_input: true
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  schemas:
    ConfirmCreateConsumerRequest:
      type: object
      required:
        - attempt_token
      properties:
        attempt_token:
          type: string
          description: Token returned by `POST /auth/login` when `matched` is false.
    ConfirmCreateConsumerResponse:
      type: object
      required:
        - message
        - flow_token
        - requires_contact_input
      properties:
        message:
          type: string
          example: Consumer profile created.
        flow_token:
          type: string
        requires_contact_input:
          type: boolean
          example: true
    ValidationErrorResponse:
      type: object
      required:
        - message
        - errors
      properties:
        message:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
    MessageResponse:
      type: object
      required:
        - message
      properties:
        message:
          type: string
  responses:
    ValidationError:
      description: Request validation failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
    TooManyRequests:
      description: Request was rate limited.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MessageResponse'

````