Skip to main content
Skip table of contents

Reset call

If a user does not want to answer a call, they can reset it on their device, and then they send this request.

After resetting, the ring continues on other devices.

GET/api/v1/intercom/calls/{call}/cancel

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 reset (status must be «ring»)

Response

204

Successful response

401

Authorization token not provided or invalid, see Obtaining a token

404

If the call does not belong to the user, does not exist, or is not in the "ring" status

Example

JSON
curl -k --location --request GET 'https://vms.local/api/v1/intercom/calls/{call}/cancel' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json' \
--header 'X-Client:ios-cctv|android-cctv|thick-legal|web' \
--header 'X-UUID:unique device id'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.