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

# Listar entidades legais

> As entidades legais do tenant, com o registro mascarado; o e-mail do encarregado nunca volta.



## OpenAPI

````yaml openapi/pt/control.json GET /v1/legal-entities
openapi: 3.1.0
info:
  title: API de controle da Niadra
  version: '1'
  description: >-
    Tenants, projetos, fontes, chaves, pessoas, configuração e uso. Nunca recebe
    conteúdo de cliente.
servers:
  - url: https://control.api.niadra.com
security: []
paths:
  /v1/legal-entities:
    get:
      tags:
        - accounts
      summary: Listar entidades legais
      description: >-
        As entidades legais do tenant, com o registro mascarado; o e-mail do
        encarregado nunca volta.


        **Autenticação.** Token de pessoa emitido pelo controle (`Authorization:
        Bearer <JWT>`), com o papel que a operação pede.
      operationId: list_legal_entities_v1_legal_entities_get
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/LegalEntity'
                title: Response List Legal Entities V1 Legal Entities Get
                type: array
          description: Resposta de sucesso.
      security:
        - personToken: []
components:
  schemas:
    LegalEntity:
      additionalProperties: false
      properties:
        country:
          title: Country
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        entity_id:
          format: uuid
          title: Entity Id
          type: string
        name:
          title: Name
          type: string
        registry_masked:
          title: Registry Masked
          type: string
      required:
        - entity_id
        - name
        - registry_masked
        - country
        - created_at
      title: LegalEntity
      type: object
  securitySchemes:
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````