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

# Retrieve an organization

> Retorna uma organização pelo ID. Organizações excluídas também são retornadas, com `deletedAt` preenchido.



## OpenAPI

````yaml get /v1/organizations/{id}
openapi: 3.0.0
info:
  title: Kinbox API
  description: Kinbox public API
  version: '2.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/organizations/{id}:
    get:
      tags:
        - v1Organizations
      summary: Retrieve an organization
      description: >-
        Retorna uma organização pelo ID. Organizações excluídas também são
        retornadas, com `deletedAt` preenchido.
      operationId: retrieveOrganization
      parameters:
        - name: id
          required: true
          in: path
          description: ID da organização
          schema:
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationPublicDto'
components:
  schemas:
    OrganizationPublicDto:
      type: object
      properties:
        name:
          type: string
          description: Nome da organização / nome fantasia
        legalName:
          type: string
          nullable: true
          description: Razão social
        avatar:
          type: string
          nullable: true
          description: Logo da organização (arquivo enviado pelo upload do Kinbox)
        cnpj:
          type: string
          nullable: true
          description: CNPJ (salvo sem pontuação)
        website:
          type: string
          nullable: true
          description: Site da organização
        domain:
          type: string
          nullable: true
          description: Domínio normalizado, derivado automaticamente do site
        phone:
          type: string
          nullable: true
          description: Telefone da organização
        email:
          type: string
          nullable: true
          description: E-mail da organização
        address:
          nullable: true
          allOf:
            - $ref: '#/components/schemas/OrganizationAddress'
        segment:
          type: string
          nullable: true
          description: Segmento / setor de atuação
        description:
          type: string
          nullable: true
          description: Descrição / observações
        customFields:
          type: object
          additionalProperties: true
          nullable: true
          description: 'Campos personalizados no formato { placeholder: { value } }'
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        deletedAt:
          format: date-time
          type: string
          nullable: true
          description: Preenchido quando a organização foi excluída (exclusão lógica)
        contactsCount:
          type: number
          description: Quantidade de contatos vinculados
        id:
          type: number
          example: 42
          description: ID da organização
        workspaceId:
          type: number
          description: ID do workspace
        operatorId:
          type: number
          nullable: true
          description: ID do usuário responsável pela organização
      required:
        - name
        - createdAt
        - updatedAt
        - id
        - workspaceId
    OrganizationAddress:
      type: object
      properties:
        street:
          type: string
        number:
          type: string
        complement:
          type: string
        district:
          type: string
        city:
          type: string
        state:
          type: string
        zip:
          type: string
        country:
          type: string

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.