SmartGare
API referenceEndpoints

Read the intercom calls that rang over a window, oldest first, with who answered, the wait before the answer and what was decided

**Required permission:** `supervision.live-view:read`

GET/supervision/v1/intercom-calls

Required permission: supervision.live-view:read

AuthorizationBearer <token>

In: header

Query Parameters

from*string
Formatdate-time
to*string
Formatdate-time

Response Body

*/*

curl -X GET "https://example.com/supervision/v1/intercom-calls?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z"
{  "calls": [    {      "answered_at": "2019-08-24T14:15:22Z",      "answered_by": "string",      "call_id": "string",      "checkpoint_id": "string",      "decision": {        "call_id": "string",        "command_id": "string",        "decided_at": "2019-08-24T14:15:22Z",        "decided_by": "string",        "decision": "string",        "note": "string",        "permission": "string"      },      "ended_at": "2019-08-24T14:15:22Z",      "outcome": "string",      "rang_at": "2019-08-24T14:15:22Z",      "status": "string",      "vehicle_id": "string",      "wait_seconds": 0    }  ]}