You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > DW Product Help > Software Applications > DW Spectrum IPVMS > API > DW Spectrum - Making API Requests via the Internet
DW Spectrum - Making API Requests via the Internet
print icon

How to Make API Requests to Cloud-Connected Systems Over the Internet

-----------------------------------

Affected Roles: Administrator, Power Users

Related Digital Watchdog VMS Apps: DW Spectrum

Last Edit: April 4, 2025

-----------------------------------

 

Making an API Request

  1. Test the request locally.

Check the documentation and find the API request that you need, then make and test the request using the local system IP address.

 

  1. Find the Cloud System ID.

There are two ways to do that:

  • Option 1: Open the DW Spectrum System in the DW Cloud Portal and check the URL for the System ID.

For Example: https://dwspectrum.digital-watchdog.com/systems/397f56fb-4c5c-485e-a923-9bea345fa7ba

 

Cloud System ID = 397f56fb-4c5c-485e-a923-9bea345fa7ba

 

  • Option 2: Make an API request using /api/moduleInformation. The Cloud System ID will be listed in reply.

For Example: http://127.0.0.1:7001/api/moduleInformation

 

 

**NOTE: For more information finding the DW Cloud System ID, you can refer to DW Spectrum - Locating the DW Cloud System ID.

 

  1. Format the Cloud URL for the API request.

In your original request, replace the local IP and port number with https://{systemID}.relay.vmsproxy.com.

For Example:

http://127.0.0.1:7001/api/createEvent?source=Cloud&caption=Test

 

Turns into à https://https://397f56fb-4c5c-485e-a923-9bea345fa7ba.relay.vmsproxy.com/

 

Which then becomes à https://397f56fb-4c5c-485e-a923-9bea345fa7ba.relay.vmsproxy.com/api/createEvent?source=Cloud&caption=Test

 

Known Issues and Limitations

  • This functionality is subject to change without advanced notice. Updates are often announced in release notes when changes occur.
  • This method only supports the HTTPS protocol.
  • This method does not support browser-based requests due to CORS protection.

 

 

 

For More Information or Technical Support

DW Technical Support:  866.446.3595 (option 4)

https://www.digital-watchdog.com/contact-tech-support/

______________________________________________________________________________

DW Sales:  866.446.3595                   sales@digital-watchdog.com        www.digital-watchdog.com

scroll to top icon