Viewing a call
This request is used to check if it is necessary to initiate a call after receiving a «ring» push notification (APN/FCM/Huawei).
It is used to handle scenarios where the user's internet connection is restored after the push notification is sent, and during that time another device may have already answered the call. This is because the "cancel" push notification is delivered via WebSocket, and the device may have missed it due to the lack of internet connection.
If the received status after the request is not «ring», Android devices do not initiate the call. However, iOS devices initiate the call first and then terminate it after the check. This behavior is due to limitations in the operating system.
GET/api/v1/intercom/calls/{call}Headers | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
calloptional | int | Identifier of the call to retrieve |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token | ||||||||
404 | If the call does not belong to the user or does not exist |
Example | |||||||||
JSON
|