WarrierTech provides a comprehensive suite of APIs engineered for seamless integration of WarrierTech and third-party IoT devices into diverse platforms. These APIs cover all WarrierTech satellite and cellular solutions, enabling applications in telematics, environmental monitoring, industrial management, and more. They facilitate the retrieval of device information and data, as well as firmware and configuration updates.
Using these APIs, developers can easily create applications for various purposes, such as mapping device locations, controlling actuators, and reading a wide range of digital and analog sensors connected to the devices. Data collected from the devices is securely stored in cloud repositories and can be accessed through the APIs.
To use the WarrierTech API, you need to authenticate using an API subscription key. To acquire a key, please contact us on our website form or email us.
The WarrierTech API contains the following endpoints:
/devices
- Get List of Device IDs/devices/details
- Get Device Details/devices/outputs
- Get Device DataTo use the WarrierTech API, an API subscription key is required, and that needs to be in the Authorization header attribute of requests. Only the devices and their data associated that are mapped to a specific API subscription key will be accessible using that key. To obtain a key, please contact us on our website form or email us.
With a key, you can now begin the integration process. The workflow begins with the Get List of Device IDs for All Devices operation. It will return a JSON object like so:
{
"message": "Success",
"ids": [
"366daa86-fa92-4a9c-a45f-b11b7021a231",
"071b4227-8f79-4eda-8b61-f3e5c7071b44"
]
}
The list of IDs are useful if information is only wanted for a single device as opposed to all devices, as specific IDs can be specified in other endpoints.
If you make a lot of API requests in a short period of time then you may receive a 429 error response. This indicates that the API rate limit has been reached. The API has rate limits in order to keep our API reliable and to help third-party developers use the API in a responsible way.
WarrierTech's API rate limit is calculated based on the number of calls made in a rolling 60 second window, with a limit of 60 requests within a 60 second window. If you exceeds the rate limit then you'll begin to see 429 error responses.
The API rate limit should be considered when interfacing with the API, to avoid hitting the rate limit. If the rate limit is reached, it is recommended to develop a backoff-retry strategy. When a 429 error response has been received, the header will normally include a Retry-After header with a value in seconds. Consider waiting for the number of seconds specified in Retry-After before you call the API again.
Q: Can I use my API key in multiple applications?
Yes, you can use your API key in multiple applications/services. The API key is associated with your subscription, and used to access your data.
Q: How do I change/update my API key?
If you need to change/update your API key, please contact our support team at info@warriertech.com.