[GET] Buscar agentes
Busca pelos seus agentes.
Requisição
curl --location 'https://api.zaia.app/v1.1/api/agent/retrieve-multiple/?agentId=123' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <your api key goes here>'
Headers (Cabeçalhos)
Chave
Tipo
Exemplo
Obrigatório
Authorization
String
Bearer <sua chave aqui>
✓
Parâmetros de Query
Chave
Tipo
Exemplo
Obrigatório
agentId
Number
123
✓
Respostas
{
"agents": [{
"createAt": 123,
"id": "your site id",
"externalGenenerativeMesageCount": 123,
"name": "Zaia agent",
"pictureURL": "data:image/png;base64,iVBORw0KGgoAAAAN",
"voiceGender": "male"
}]
}
Atualizado