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.

1364

Bolt Cloud dashboard

  1. Scroll down to API Request Builder section.
1363

API tab

1364

API Request Builder section

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

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'.
1365
  1. The pin selection table will appear. Select the pins and set them HIGH or LOW.
  2. Click on BUILD API REQUEST.
1365
  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.
1366
  1. If everything goes well then SUCCESS will be displayed.
1359

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