26.09 26.06 26.05 25.12
26.09 26.06 26.05 25.12 Russian English

Get list of keys (v1)

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/v1/billing/intercoms/{intercom}/keys

Returns a list of intercom keys (mifare type). Supports filtering by apartment. Results are paginated.

For a gate, the list also includes keys from its entrance intercoms, with one row per key value and no apartment. A key added directly to the gate remains its own key.

Method parameters

int intercom  required , Intercom ID (in the URL)


int intercom_flat_id, Intercom apartment ID (optional)


int per_page, Number of items per page (default: 25; maximum: 100)

200  OK

Successful response

JSON
{
    "data": [
        {
            "id": 1,
            "key": "000000AABBCCDD",
            "type": "mifare",
            "title": "Apartment key",
            "intercom_id": 10,
            "intercom_flat_id": 5,
            "created_at": "2026-01-15T10:00:00.000000Z",
            "updated_at": "2026-01-15T10:00:00.000000Z"
        }
    ],
    "links": {
        "first": "...",
        "last": "...",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "...",
        "per_page": 25,
        "to": 1,
        "total": 1
    }
}

404  Not Found

Intercom not found

422  Unprocessable Entity

Returns a JSON error object.

For more information, see General information > Validation.

JSON
{
    "message": "No informative message is provided here",
    "errors": {
        "any_key": [
            "The reason for the error is described here"
        ]
    }
}
cURL
Bash
curl -k --request GET \
	--url 'https://your-domain/api/v1/billing/intercoms/{intercom}/keys' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "intercom": 0,
    "intercom_flat_id": 0,
    "per_page": 0
}'
PHP
PHP
$data = array (
  'intercom' => 0,
  'intercom_flat_id' => 0,
  'per_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/v1/billing/intercoms/{intercom}/keys', false, $context);