[GET] Buscar múltiplos chats

Recupera múltiplos chats generativos externos.

Requisição

curl --location 'https://api.zaia.app/v1.1/api/external-generative-chat/retrieve-multiple' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <your api key here>'

Headers (Cabeçalhos)

Chave
Tipo
Exemplo
Obrigatório

Authorization

String

Bearer <sua chave aqui>

Parâmetros de Query

Chave
Tipo
Exemplo

agentIds

Array<Number>

456, 321, 234

limit

Number

10

offset

Number

1

Respostas

{
  "externalGenerativeChats": [
    {
      "id": 1379951,
      "channel": "widget",
      "agentId": 20733,
      "createdAt": "2024-08-06T22:04:08.672Z",
      "status": "active",
      "phoneNumber": null
    }
  ],
  "hasNextPage": false,
  "totalCount": 1
}

Atualizado