---
title: "Ativar"
method: POST
path: "/v1/company/{id}/active"
tags: ["Contas"]
---

# Ativar

`POST /v1/company/{id}/active`

## Path parameters

- `id` string, uuid, required

## Response `200`

Success

- PublicCompanyDTO — DTO representando uma conta no sistema
  - `id` string, uuid — Identificador único da conta
  - `createdAt` string, date-time — Data de criação da conta
  - `updatedAt` string, date-time — Data da última atualização da conta
  - `active` boolean — Indica se a conta está ativa
  - `legalName` string, nullable — Razão social da empresa
  - `documentType` 'CPF' | 'CNPJ' — Tipo de documento (CPF ou CNPJ)
  - `documentId` string, nullable — Número do documento (CPF ou CNPJ)
  - `name` string, nullable — Nome fantasia da empresa
  - `partnerName` string, nullable — Nome do parceiro associado à conta
  - `ownerId` string, uuid, nullable — ID do proprietário da conta
  - `category` string, nullable — Categoria da empresa
  - `customCategory` string, nullable — Categoria personalizada da empresa
  - `type` 'UNDEFINED' | 'MEI' | 'LIMITED' | 'INDIVIDUAL' | 'ASSOCIATION' — Tipo da conta
  - `invoiceType` 'HELENA' | 'DIALOG360' — Tipo de faturamento
  - `partnerId` string, uuid, nullable — ID do parceiro
  - `pictureUrl` string, nullable — URL da imagem de perfil
  - `wppNumber` string, nullable — Número de WhatsApp
  - `phoneNumber` string, nullable — Número de telefone
  - `phoneNumberFormatted` string, nullable — Número de telefone formatado
  - `email` string, nullable — Email de contato
  - `defaultDepartmentId` string, uuid, nullable — ID da equipe padrão
  - `address` PublicAddressDataDTO — DTO representando um endereço
    - `country` string, nullable — País
    - `state` string, nullable — Estado
    - `city` string, nullable — Cidade
    - `neighborhood` string, nullable — Bairro
    - `zipcode` string, nullable — CEP
    - `number` string, nullable — Número
    - `address1` string, nullable — Logradouro
    - `address2` string, nullable — Complemento
  - `setupStatus` 'DEMO' | 'ONBOARDING' | 'PRODUCTION' | 'DELAYED' | 'SUSPENDED' | 'CANCELED' — Status de configuração da conta
  - `config` PublicCompanyConfigDTO — Configurações da conta
    - `planName` string, nullable — Nome do plano
    - `campaignEnabled` boolean — Campanhas habilitadas
    - `panelEnabled` boolean — Painéis habilitados
    - `customFieldEnabled` boolean — Campos personalizados habilitados
    - `webhookEnabled` boolean — Webhooks habilitados
    - `advancedChatbotEnabled` boolean — Chatbots avançados habilitados
    - `resources` PublicCompanyResourcesDTO — Recursos incluídos no plano da conta
      - `includedSessions` integer, nullable — Quantidade de sessões incluídas
      - `includedAgents` integer, nullable — Quantidade de agentes incluídos
      - `includedPanels` integer, nullable — Quantidade de painéis incluídos
      - `includedChatbots` integer, nullable — Quantidade de chatbots incluídos
      - `includedChatbotAutomations` integer, nullable — Quantidade de automações de chatbot incluídas
      - `includedWhatsAppChannels` integer, nullable — Quantidade de canais de WhatsApp incluídos
      - `includedInstagramChannels` integer, nullable — Quantidade de canais do Instagram incluídos
      - `includedMessengerChannels` integer, nullable — Quantidade de canais do Messenger incluídos
      - `includedSequences` integer, nullable — Quantidade de sequências incluídas

## Other responses

- `500` — Server Error

---

[API](https://skmtc.net/helena/apis/core.md) · [All operations](https://skmtc.net/helena/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helena/core/versions/811b2cdd2ec2/schema)
