Skip to main content
Skip table of contents

Export a summary file with keys, apartments, users

Export a summary file key|apartment|user

Export a consolidated list of keys, apartments, and users to an XLSX file for a given intercom. The link to the report will be sent via push to the token.ID channel

(section "Push about successful upload of the summary file key|apartment|intercom user")

A required permission for the request is intercom-replace.

GET /api/admin/v1/intercoms/{intercom}/download

Parameters

int intercom, a unique identifier of the intercom

204 No Content

Successful response

401 Unauthorized

Authorization token not sent or not valid

cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/intercoms/{intercom}/download' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "intercom": 0
}'
PHP
PHP
$data = array (
  'intercom' => 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/admin/v1/intercoms/{intercom}/download', false, $context);
JavaScript errors detected

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

If this problem persists, please contact our support.