26.09 26.06 26.05 25.12
26.09 26.06 26.05 25.12 Russian English

Get list of apartments (v2)

List apartments (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

Returns intercom apartments in pages, sorted by apartment number.

  • delivery indicates delivery of call lines and the apartment number to the panel: status - pending (pending delivery), applied (accepted by the panel), failed (not delivered; details in error), or null.

  • settings.desired contains settings the platform is instructed to apply; settings.actual contains the current panel settings; settings.spec specifies which settings can be sent (as in flat_settings_spec), settings.status indicates delivery of settings using the same values.

Method parameters

int intercom  required , Intercom ID (in the URL)


int per_page, Number of records per page; default: 25


int page, Page number

200  OK

Successful response

JSON
{
    "data": [
        {
            "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"
            }
        }
    ],
    "links": {
        "first": "https://your-domain/api/v2/billing/intercoms/123/flats?page=1",
        "last": "https://your-domain/api/v2/billing/intercoms/123/flats?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://your-domain/api/v2/billing/intercoms/123/flats",
        "per_page": 25,
        "to": 1,
        "total": 1
    }
}

404  Not Found

Intercom not found

cURL
Bash
curl -k --request GET \
	--url 'https://your-domain/api/v2/billing/intercoms/{intercom}/flats' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "intercom": 0,
    "per_page": 0,
    "page": 0
}'
PHP
PHP
$data = array (
  'intercom' => 0,
  'per_page' => 0,
  'page' => 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', false, $context);