Skip to main content
Skip table of contents

Creating an intercom

At the moment, you can only create intercoms of the brand Interconnection

POST/api/admin/v1/intercoms

Headers

Authorization

Bearer token

Accept

application/json

X-Client

ios-cctv|android-cctv|thick-legal|web

X-UUID

unique device id

Body

json

JSON
{
    "vendor": "interconnection",
    "schema": "http",
    "ip": "192.168.18.207",
    "port": 8080,
    "login": "root",
    "password": "123456",
    "title": "interconnection_intercom"
}

vendorrequired

string

Intercom manufacturer

schemarequired

string

URL scheme

iprequired

string

IP address

portrequired

integer

Port

loginrequired

integer

Login

passwordrequired

integer

Password

titlerequired

string

Intercom name

Response

200

Successful response

JSON
null
401

Authorization token is not provided or is invalid. Obtaining a token

Example

JSON
curl -k --location --request POST 'https://vms.local/api/admin/v1/intercoms' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json' \
--header 'X-Client:ios-cctv|android-cctv|thick-legal|web' \
--header 'X-UUID:unique device id' \
--header 'Content-Type: application/json \
--data-raw '{
    "vendor": "interconnection",
    "schema": "http",
    "ip": "192.168.18.207",
    "port": 8080,
    "login": "root",
    "password": "123456",
    "title": "interconnection_intercom"
}'
JavaScript errors detected

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

If this problem persists, please contact our support.