Skip to main content
Skip table of contents

Set up Sputnik intercoms

Setting up Sputnik apartments

Possible intercom settings will be configured depending on the type of connection

Example of intercom settings. Connection type - matrix-switching.

JSON
{
    "quiescent_resistance": 10,
    "open_door_resistance": 10,
    "speak_sip_volumes": 53,
    "speak_loudspeaker_volumes": 56,
    "panel_micro_volumes": 70,
    "panel_system_volumes": 54
}

Example of intercom settings. Connection type - fixed.

JSON
{
    "panel_system_volumes": 54
}

Example of intercom settings. Connection type - smart.

JSON
{
    "speak_sip_volumes": 53,
    "panel_system_volumes": 54
}

Example of intercom settings. Connection type - combined 1.

JSON
{
    "quiescent_resistance": 10,
    "open_door_resistance": 10,
    "speak_sip_volumes": 53,
    "speak_loudspeaker_volumes": 56,
    "panel_micro_volumes": 70,
    "panel_system_volumes": 54
}

Example of intercom settings. Connection type - combined 2.

JSON
{
    "speak_sip_volumes": 53,
    "panel_system_volumes": 54
}

PATCH /api/admin/v1/intercoms/{intercom}/setup-flats-settings

Parameters

int intercom, Unique identifier of the intercom


integer quiescent_resistance, General door opening threshold


integer open_door_resistance, General off-hook threshold


integer speak_sip_volumes, SIP volume


integer speak_loudspeaker_volumes, Panel speaker volume


integer panel_micro_volumes, Microphone sensitivity


integer panel_system_volumes, Main operation volume

200 OK

Successful response

401 Unauthorized

Authorization token not sent or not valid

422 Unprocessable Entity

Returns a JSON object with an error.

JSON
{
    "message": "There will be no informative message here",
    "errors": {
        "any_key": [
            "The cause of the error will be described here"
        ]
    }
}
cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/intercoms/{intercom}/setup-flats-settings' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "intercom": 0,
    "quiescent_resistance": "integer",
    "open_door_resistance": "integer",
    "speak_sip_volumes": "integer",
    "speak_loudspeaker_volumes": "integer",
    "panel_micro_volumes": "integer",
    "panel_system_volumes": "integer"
}'
PHP
PHP
$data = array (
  'intercom' => 0,
  'quiescent_resistance' => 'integer',
  'open_door_resistance' => 'integer',
  'speak_sip_volumes' => 'integer',
  'speak_loudspeaker_volumes' => 'integer',
  'panel_micro_volumes' => 'integer',
  'panel_system_volumes' => 'integer',
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'PATCH',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain/api/admin/v1/intercoms/{intercom}/setup-flats-settings', false, $context);
JavaScript errors detected

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

If this problem persists, please contact our support.