5.4.5 HTTP API
HTTP API is an application interface designed for control of selected 2N IP intercom functions via the HTTP. It enables 2N IP intercoms to be integrated easily with third party products, such as home automation, security and monitoring systems, etc.
Services
HTTP API provides the following services:
- System API – provides intercom configuration changes, status info and upgrade.
- API Access Control – provides access control and user authentication verification methods.
- Switch API – provides switch status control and monitoring, e.g. door lock opening, etc.
- I/O API – provides intercom logic input/output control and monitoring.
- Audio API - provides audio playback control and microphone monitoring.
- Camera API – provides camera image control and monitoring.
- Display API – provides display control and user information display.
- E-mail API – provides sending of user e-mails.
- Phone/Call API – provides incoming/outgoing call control and monitoring.
- Logging API – provides reading of event records.
- Automation API – provides Secure/Unsecure communication settings and authorization requirements.
Set the transport protocol (HTTP or HTTPS) and way of authentication (None, Basic or Digest) for each function. Create up to five user accounts (with own username and password) in the HTTP API configuration for detailed access control of services and functions.
Set authentication methods for the requests to be sent to the intercom for each service. If the required authentication is not executed, the request will be rejected. Requests are authenticated via a standard authentication protocol described in RFC-2617. The following three authentication methods are available:
- None – no authentication is required. In this case, this service is completely unsecure in the LAN.
- Basic – Basic authentication is required according to RFC-2617. In this case, the service is protected with a password transmitted in an open format. Thus, we recommend you to combine this option with HTTPS where possible.
- Digest – Digest authentication is required according to RFC-2617. This is the default and most secure option of the three above listed methods.
Refer to the HTTP API Configuration Manual for the HTTP API function and configuration details.
Tip
- Make sure that Connection Type is set to Unsecure and Authentication to None in HTTP API / Camera API to make the Video Preview feature at the Gigaset Maxwell 10 phone work.
Account 1–5
The 2N IP intercom allows you to manage up to five user accounts for access to the HTTP API services. The user account includes the user name and password and a list of user privileges to HTTP API.
- Account Enabled – enable this user account.
- Username – enter the username fot the HTTP authentication.
- Password – enter the HTTP API authentication password.