Actions24
- π€ Enviar Mensagem
- π Enviar Lista
- π Verificar NΓΊmero
- π€ Criar Contato
- π Listar Contatos
- βοΈ Atualizar Contato
- ποΈ Remover Contato
- π’ Criar Empresa
- π·οΈ Criar Tag
- π Listar Tags
- ποΈ Deletar Tag
- π Criar Agendamento
- π Listar Agendamentos
- ποΈ Deletar Agendamento
- βοΈ Atualizar Ticket
- π Listar Tickets
- ποΈ Mostrar Ticket
- ποΈ Deletar Ticket
- π’ Listar Empresas
- ποΈ Mostrar Empresa
- βοΈ Atualizar Empresa
- ποΈ Deletar Empresa
- π·οΈ Adicionar Tag ao Ticket
- π·οΈ Remover Tag do Ticket
ποΈ Mostrar Empresa
AI-generatedSummary
Retrieve company details by ID
Inputs
- tokenType β Selects the authentication token to use: 'connection' (WhatsApp connection token), 'company' (company token), or 'admin' (admin token).
- companyId (required) β The unique identifier of the company to retrieve.
Output shape
a single company object
The response contains the company record (e.g., id, name, CNPJ, status) or an error if the ID is invalid.
Examples
Example 1: Retrieve details of a specific company
Set tokenType to 'company' (or 'admin') and provide the companyId; the operation returns the company data.
Example 2: Show company info using the default token
Leave tokenType as default 'connection' (will fallback to connection token) and specify the companyId; success depends on token permissions.
Example 3: Handle invalid companyId
Provide an invalid companyId; the operation returns an error message.