get-calls-by-department

Changed on
get/TEMP/v1/api/calls/department/:departmentId

Request

  • Base URL
    https://api.nuvidio.com
  • URL
    https://api.nuvidio.com/TEMP/v1/api/calls/department/:departmentId
  • Auth
    none required

Path parameters

searchstring[] required
takeinteger required
pageinteger required

Response

200

countinteger

Example response

{
  "count": 371,
  "calls": [
    {
      "id": "697a7d716de82de25598744f",
      "initialDate": "2026-01-28T21:19:45.962Z",
      "ticket": "26012823486107",
      "duration": 78,
      "customer": {
        "name": "Victor de Morais Rodrigues",
        "connected": true,
        "connectedAt": "2026-01-28T21:19:47.496Z",
        "id": "676f82d81a7849c22b9637a9"
      },
      "attendant": {
        "name": "Victor",
        "id": "67db215f10aec5cc3e99f9c0",
        "connected": true,
        "connectedAt": "2026-01-28T21:19:46.774Z"
      }
    }
  ]
}

Changes