About AlarmTraq REST API (v2)

The AlarmTraq REST API v2 is a set of HTTP endpoints that help you integrate with AlarmTraq. The API is sold separately as part of the secure alarming package.

With the new REST API (v2), most AlarmTraq database features and secure-alarming facilities are now easily accessible through HTTPS REST calls. Nearly every feature you already use through the desktop interface of AlarmTraq can now be automated and used with your HTTPS-capable toolchain of choice.

API Reference and Endpoints
For links to the AlarmTraq API reference and a list of the regional API endpoints, see API Reference and Endpoints.

HTTPS and TLS 1.2 Required
All AlarmTraq API requests must support HTTPS and SSL protocol TLS 1.2. Making requests to the API with the HTTP (http://) protocol is not supported.

All AlarmTraq API requests are protected with HTTP Basic Authentication. Every account comes with an Account UserId and Auth Token. These tokens are unique to each account and are needed when making a request to the AlarmTraq API. Do not share these with anyone!

The AlarmTraq APIs use standard HTTP requests. Each may contain AlarmTraq-specific headers for pagination, entity tags (ETags), and so on.

Many of the API operations require JSON in the request body or return JSON in the response body. The specific contents of the JSON are described in the API documentation for the individual operation. Notice that the JSON is not wrapped or labeled according to the operation's name or the object's name or type.

When you make a request to the AlarmTraq API, it will always return a response regarding the resources you have requested, created, or modified. These responses will be in the JSON format.

When something goes wrong during a request, the AlarmTraq API responds with an HTTP status code and a message describing what went wrong.

Postman Collection
Postman Collection

Error Format
If a request results in an error, the response contains a standard HTTP response code with 4xx for client errors and 5xx for server errors. The body also includes JSON with an error code and a description of the error.

Request Throttling
AlarmTraq applies throttling to many API requests to prevent accidental or abusive use of resources. If you make too many requests too quickly, you might see some succeed and others fail. AlarmTraq recommends that you implement an exponential back-off, starting from a few seconds to a maximum of 60 seconds. When a request fails due to throttling, the system returns response code 429 and the following error code and description: TooManyRequests

For more information on available http requests see AlarmTraq REST API (v2) Documentation

The new REST APIs can be used by the latest versions of the agateway and agatewayCS to provide secure alarming over HTTPS using the AlarmTraq REST API.

The AlarmTraq API requires the AlarmTraq Web application to be installed as the base application platform. In addition, Microsoft .NET Framework 4.7.2 update (or greater) must be installed on the application server.

The AlarmTraq API may be installed either on separate web and AlarmTraq core servers or on a single server functioning as both web and core servers.

Web Server Requirements

  • CPU Requirements:
    • Minimum Dual Core 1.8 GHz CPU
  • RAM Requirements:
    • Minimum 4 GB available RAM
  • Hard Disk Requirements:
    • Minimum 4 GB available hard disk space
  • Operating System Requirements:
    • Microsoft Windows Server 2016, 2019 or 2022 (64-bit; Standard, Enterprise)
  • Web Server Requirements:
    • Microsoft Internet Information Services (IIS) version 7.5, 8.0, 8.5, or 10.0
    • Web Server (IIS) installed as a Role in Windows Server Manager with the following Role Services installed:
      • Common HTTP Features: Static Content
      • Application Development: ASP and ISAPI Extensions
      • Security: Request Filtering
      • Performance: Static Content Compression
  • Microsoft .NET Framework Requirements:
  • Other Requirements:

It is strongly recommended that all available service packs and security patches be applied to both the web server’s core operating system and the .NET Framework. The latest service packs and cumulative updates for Microsoft Windows Server products can be reviewed at the Microsoft TechNet Windows Server web page.

© 2022 Reilly Telecom Inc. All rights reserved.