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

# Criar negócio



## OpenAPI

````yaml /openapi.json post /deals
openapi: 3.1.0
info:
  title: Synax API
  description: >-
    API pública do Synax para integrações externas. Usa API Keys para
    autenticação e o endpoint api-proxy para todas as operações CRUD.
  version: 2.0.0
  contact:
    name: Synax
    url: https://synax.app.br
servers:
  - url: https://api.synax.app.br/functions/v1/api-proxy
    description: Produção
security:
  - bearerApiKey: []
paths:
  /deals:
    post:
      tags:
        - Negócios
      summary: Criar negócio
      operationId: createDeal
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  example: Proposta Growth
                value:
                  type: number
                  example: 15000
                contact_id:
                  type: string
                  format: uuid
                stage_id:
                  type: string
                  format: uuid
              required:
                - title
                - contact_id
                - stage_id
      responses:
        '201':
          description: Deal criado
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Deal'
components:
  schemas:
    Deal:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        company_id:
          type: string
          format: uuid
          readOnly: true
        title:
          type: string
          example: Proposta Growth
        value:
          type: number
          example: 15000
        status:
          type: string
          enum:
            - open
            - won
            - lost
        contact_id:
          type: string
          format: uuid
        stage_id:
          type: string
          format: uuid
        created_at:
          type: string
          format: date-time
          readOnly: true
  securitySchemes:
    bearerApiKey:
      type: http
      scheme: bearer
      description: 'API Key gerada em Configurações > API. Formato: sk_live_...'

````