26.09 26.06 26.05 25.12
26.09 26.06 26.05 25.12 Russian English

View apartment (v2)

View an apartment (v2)

With the release of request version v2, version v1 is being moved to legacy.
For new integrations, use the current v2.
Version v1 remains available to support existing integrations.

GET  /api/v2/billing/intercoms/{intercom}/flats/{flat}

Returns an intercom apartment. Fields are the same as in "List apartments (v2)". Returns 404 if the apartment belongs to another intercom.

Method parameters

int intercom  required , Intercom ID (in the URL)


int flat  required , Intercom apartment ID (in the URL)

200  OK

Successful response

JSON
{
    "id": 501,
    "flat": 42,
    "number": "1042",
    "landline_number": null,
    "is_analog_line_available": true,
    "is_smartphone_sip_line_available": true,
    "is_landline_sip_line_available": false,
    "delivery": {
        "status": "applied",
        "error": null,
        "synced_at": "2026-11-04T10:15:00+00:00"
    },
    "settings": {
        "desired": [],
        "actual": {
            "keys_access_enabled": true,
            "codes_access_enabled": true
        },
        "spec": {
            "keys_access_enabled": {
                "type": "boolean",
                "group": "access",
                "control": "toggle"
            },
            "codes_access_enabled": {
                "type": "boolean",
                "group": "access",
                "control": "toggle"
            }
        },
        "status": "applied",
        "error": null,
        "synced_at": "2026-11-04T10:15:00+00:00"
    }
}

404  Not Found

Intercom not found or apartment belongs to another intercom

cURL
Bash
curl -k --request GET \
	--url 'https://your-domain/api/v2/billing/intercoms/{intercom}/flats/{flat}' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "intercom": 0,
    "flat": 0
}'
PHP
PHP
$data = array (
  'intercom' => 0,
  'flat' => 0,
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'GET',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain/api/v2/billing/intercoms/{intercom}/flats/{flat}', false, $context);