Create an intercom (v2)
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.
|
POST /api/v2/billing/intercoms |
Unlike v1, instead of group_id/group_external_id the request provides access_point_id — the UUID of an existing access point to which the intercom will be attached. The access point must be created in advance.
Only access_point_id, vendor and name.
{
"access_point_id": "00000000-0000-0000-0000-000000000001",
"flat_from": 1,
"flat_to": 15,
"serial_number": "serial_number",
"mac": "AA:BB:CC:DD:EE:FF",
"vendor": "interconnection",
"model": "3516EV200",
"name": "intercom name",
"department": 1,
"log_extra": {
"some": "information"
}
}
Method parameters
string access_point_id required , UUID of the existing access point to which the intercom is attached.
integer flat_from, First apartment number connected to the intercom.
integer flat_to, Last apartment number connected to the intercom.
string serial_number, Panel serial number. Must be unique.
string mac required , Panel MAC address in `AA:BB:CC:DD:EE:FF` format. Must be unique.
string vendor required , Intercom manufacturer.
string model, Panel model. Must be supported by the specified manufacturer.
string name required , Intercom/entrance name (displayed to users).
integer department, Entrance number (1 to 10,000).
array onvif_credentials, Credentials for accessing the intercom camera through ONVIF.
boolean is_restricted_live, Restriction on viewing the intercom camera's live stream.
boolean is_restricted_archive, Restriction on viewing the intercom camera's archive recordings.
string|array log_extra, Additional information received from an external system.
|
201 |
|
Intercom created successfully JSON
|
|
422 |
|
Validation error. For more information, see General information > Validation. JSON
|