Get the list of intercoms in a group
Get the list of intercoms in a group
GET /api/admin/v1/intercoms/groups/{group} |
Parameters
int
group, Unique group identifier
int
per_page, Number of elements in one pagination page.
int
page, Pagination page number
string
vendor, Filtering by model.
string
status, Filtering by status.
date
from, Start of time interval
date
to, End of time interval
string
department_type, Filter by input type.
string
search, Search by uuid, title, address, mac
string
sort, Field by which to sort reactions
string
dir, In which direction to sort.
200 |
Successful response
JSON
|
401 |
Authorization token not sent or not valid |
cURL
BASH
curl -k --request POST \
--url 'https://your-domain/api/admin/v1/intercoms/groups/{group}' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"group": 0,
"per_page": 0,
"page": 0,
"vendor": "string",
"status": "string",
"from": "date",
"to": "date",
"department_type": "string",
"search": "string",
"sort": "string",
"dir": "string"
}'
PHP
PHP
$data = array (
'group' => 0,
'per_page' => 0,
'page' => 0,
'vendor' => 'string',
'status' => 'string',
'from' => 'date',
'to' => 'date',
'department_type' => 'string',
'search' => 'string',
'sort' => 'string',
'dir' => '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/admin/v1/intercoms/groups/{group}', false, $context);