API referenceEndpoints
Get an intercom call
Returns one call by id. **Required permission:** `cycle.coach-cycle:read`
GET
/cycle/v1/intercom-calls/{id}Returns one call by id.
Required permission: cycle.coach-cycle:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
curl -X GET "https://example.com/cycle/v1/intercom-calls/string"{ "answered_at": "2019-08-24T14:15:22Z", "answered_by": "string", "checkpoint_id": "string", "decision": "ANSWERED", "ended_at": "2019-08-24T14:15:22Z", "id": "string", "intercom_address": "string", "rang_at": "2019-08-24T14:15:22Z", "status": "RINGING", "vehicle_id": "string"}List intercom calls
Returns the calls, newest first or, with `order=oldest`, oldest first: the checkpoint that called, the coach there if any, when the call rang, was answered and ended, who answered and what was decided. **Required permission:** `cycle.coach-cycle:read`
Answer an intercom call
Orders the intercom that rang to answer. The call reads answered once the intercom reports it connected. **Required permission:** `cycle.intercom-call:handle`