---
title: "List"
method: POST
path: "/sessions/list"
---

# List

`POST /sessions/list`

Lista as sessões

## Headers

- `instance-token` string, required

## Request body

- object
  - `instanceId` string, required — Código da instância
  - `open` boolean — Status da sessão (true = aberta, false = finalizada)
  - `start` string, date-time — Data inicial, ex: 2024-03-23T18:48:30.816Z
  - `end` string, date-time — Data final, ex: 2024-03-23T18:48:30.816Z
  - `tag_id` string, uuid — Id de uma etiqueta
  - `user_id` string — Id de um usuário da instância
  - `department_id` string, uuid — Id de um departamento da instância
  - `lead_id` string, uuid — Id de um lead
  - `number` string — Número de telefone do lead
  - `limit` integer — Limite de resultados
  - `offset` integer — Offset para paginação

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/chatpro/apis/api-do-chat.md) · [All operations](https://skmtc.dev/chatpro/apis/api-do-chat/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chatpro/api-do-chat/revisions/4e86e2befb06/schema)
