For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
    • Welcome
  • API Reference
      • GETListar Llamadas
      • POSTLanzar Llamada Saliente
      • GETObtener Llamada
Logo
API ReferenceCalls

Listar Llamadas

GET
https://nebrijaai.com/api/v1/calls
GET
/api/v1/calls
$curl https://nebrijaai.com/api/v1/calls \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
200Retrieved
1[
2 {
3 "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
4 "status": "ended",
5 "customer": {
6 "number": "+34123456789"
7 },
8 "assistantId": "a3bb189e-8bf9-3888-9912-ace4e6543002",
9 "phoneNumberId": "b1c2d3e4-f567-890a-bcde-f1234567890a",
10 "testId": "c4d5e6f7-8901-2345-6789-abcdef012345",
11 "testVariant": "B",
12 "startTime": "2024-06-10T09:15:00Z",
13 "endTime": "2024-06-10T09:45:00Z",
14 "durationMinutes": 30,
15 "cost": 12.5,
16 "endedReason": "Call completed successfully",
17 "transcript": "Hola, ¿en qué puedo ayudarle hoy?",
18 "recordingUrl": "https://nebrijaai.com/recordings/d290f1ee-6c54-4b01-90e6-d701748f0851.mp3",
19 "analysis": {
20 "sentiment": "positive",
21 "keywords": [
22 "ayuda",
23 "consulta"
24 ]
25 },
26 "transferDestination": {
27 "department": "Soporte Técnico",
28 "phoneNumber": "+34987654321"
29 }
30 }
31]

Devuelve las últimas llamadas de la organización.

Was this page helpful?
Previous

Lanzar Llamada Saliente

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

agentIdstringOptionalformat: "uuid"
Filtrar por ID de asistente.
limitintegerOptionalDefaults to 50

Número máximo de resultados.

Response

Lista de llamadas.
idstring
statusenum
Allowed values:
customerobject
assistantIdstringformat: "uuid"
phoneNumberIdstringformat: "uuid"
testIdstringformat: "uuid"
testVariantenum
Allowed values:
startTimestring
endTimestring
durationMinutesdouble
costdouble
endedReasonstring
transcriptstring
recordingUrlstring
analysisobject
transferDestinationobject