> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sell.ia.proativia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Criar Negócio

> Cria um novo negócio no pipeline de CRM da conta autenticada.



## OpenAPI

````yaml /api-reference/openapi.json post /account-crm-pipeline-deal
openapi: 3.0.3
info:
  title: WavUps CRM API
  description: >-
    API pública da plataforma WavUps CRM — gerencie leads, produtos, categorias,
    atendimentos, agendamentos, conversas e pipelines de CRM.
  version: 1.0.0
servers:
  - url: https://crm.wavups.com/api/v1
    description: Servidor de produção
security:
  - Token: []
paths:
  /account-crm-pipeline-deal:
    post:
      tags:
        - Negócios do Pipeline
      summary: Criar Negócio
      description: Cria um novo negócio no pipeline de CRM da conta autenticada.
      operationId: createCrmPipelineDeal
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCrmPipelineDealBody'
      responses:
        '201':
          description: Negócio criado com sucesso.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrmPipelineDeal'
        '500':
          $ref: '#/components/responses/Error500'
components:
  schemas:
    CreateCrmPipelineDealBody:
      type: object
      required:
        - title
      properties:
        title:
          type: string
          description: Titulo do negocio.
        stageId:
          type: string
          description: ID do estagio em que o negocio se encontra.
        leadId:
          type: string
          description: ID do lead vinculado ao negocio.
        dealOwner:
          type: string
          description: ID do usuario responsavel pelo negocio.
        value:
          type: number
          description: Valor estimado do negocio.
        status:
          type: string
          description: 'Status do negocio (ex: open, won, lost).'
        expectedCloseDate:
          type: string
          format: date-time
          description: Data prevista de fechamento (ISO 8601).
    CrmPipelineDeal:
      type: object
      properties:
        id:
          type: string
        stageId:
          type: string
          nullable: true
        leadId:
          type: string
          nullable: true
        dealOwner:
          type: string
          nullable: true
        title:
          type: string
        value:
          type: number
          nullable: true
        status:
          type: string
          nullable: true
        expectedCloseDate:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
    ErrorMessage:
      type: object
      properties:
        error:
          type: string
          example: Recurso não encontrado.
  responses:
    Error500:
      description: Erro interno no servidor.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorMessage'
  securitySchemes:
    Token:
      type: apiKey
      in: header
      name: Token
      description: Token de autenticacao gerado na plataforma WavUps CRM.

````