---
title: "Listar representantes legais"
method: GET
path: "/clients/{onboarding_id}/legal_representatives"
---

# Listar representantes legais

`GET /clients/{onboarding_id}/legal_representatives`

## Request

- Base URL: `https://pagamentos.grafeno.be/api/v2`
- URL: `https://pagamentos.grafeno.be/api/v2/clients/{onboarding_id}/legal_representatives`
- Auth: HTTP basic and API key in header `Authorization`
- TypeScript: <https://skmtc.dev/grafeno/apis/api-v2-grafeno/docs/clients/:onboarding_id/legal_representatives/get.ts> (a function with typed inputs; its response is checked against the schema)

Retorna uma lista com os dados básicos dos representantes legais de determinado onboarding.

## Path parameters

- `onboarding_id` string, required

## Query parameters

- `p[per_page]` string
- `p[page]` string
- `q[documentNumberEq]` string
- `q[nameCont]` string
- `q[createdAtGteq]` string, date
- `q[createdAtLteq]` string, date
- `q[updatedAtGteq]` string, date
- `q[updatedAtLteq]` string, date

## Response `200`

200

- object
  - `data` object[]
    - `id` string
    - `type` string
    - `attributes` object
      - `documentNumber` string
      - `name` string
      - `kind` string
      - `representationKind` string
      - `subscriberKind` string
      - `createdAt` string
      - `updatedAt` string
  - `meta` object
    - `search` object
    - `pagination` object
      - `currentPage` integer
      - `previousPage` unknown
      - `nextPage` unknown
      - `perPage` integer
      - `totalPages` integer
      - `totalCount` integer

## Other responses

- `404`: 404

---

[API](https://skmtc.dev/grafeno/apis/api-v2-grafeno.md) - [All operations](https://skmtc.dev/grafeno/apis/api-v2-grafeno/llms.txt) - [OpenAPI document](https://skmtc.dev/grafeno/apis/api-v2-grafeno/revisions/20f928f6933f?raw)
