API Request Builder

API request builder helps us to easily build custom API requests and also test them directly via the Bolt Cloud. You can generate multiple APIs with ease and can be used from standalone scripts. The API can be built for multiple operations ranging from restarting device to making a certain pin HIGH.

  1. Log in to Bolt Cloud https://cloud.boltiot.com
  2. Go to the Devices tab located on the side pane. Note Device Id of the Bolt device.
  3. Click on the API tab located on the side pane.

🚧

Note

Make sure your device is online.

Bolt Cloud dashboardBolt Cloud dashboard

Bolt Cloud dashboard

  1. Scroll down to API Request Builder section.
API tabAPI tab

API tab

API Request Builder sectionAPI Request Builder section

API Request Builder section

  1. In the 'Select the Device' option, choose your Device Id from the drop-down menu.
Select your deviceSelect your device

Select your device

  1. Choose the operation you want to execute from the 'Select Operation' drop-down menu. Here as an example we are selecting 'Digital multi-write'.
  1. The pin selection table will appear. Select the pins and set them HIGH or LOW.
  2. Click on BUILD API REQUEST.
  1. The API will be generated and the Request URL will be displayed. TEST API button will appear. Click on TEST API to test the API.
  1. If everything goes well then SUCCESS will be displayed.

This API is now tested successfully and can be used for varied purposes. Similarly, you can create many API links.


Did this page help you?