26.09 26.06 26.05 25.12
26.09 26.06 26.05 25.12 Russian English

Retrieve key

Returns a single intercom key by ID.

GET  /api/v1/billing/intercoms/{intercom}/keys/{key}

Method parameters

int intercom  required , Intercom ID (in the URL)


int key  required , Key ID (in the URL)

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"
    }
}

404  Not Found

Intercom or key not found

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