26.09 26.06 26.05 25.12
26.09 26.06 26.05 25.12 Russian English

View intercom details (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.

JSON
{
    "id": 10
}

GET  /api/v1/billing/intercoms/show

Method parameters

int id, Intercom ID


string mac, Intercom MAC address


string external_id, Unique intercom identifier

204  No Content

Successful response

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/show' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "id": 0,
    "mac": "string",
    "external_id": "string"
}'
PHP
PHP
$data = array (
  'id' => 0,
  'mac' => 'string',
  'external_id' => 'string',
);
$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/show', false, $context);