Bolt IoT: A fully integrated IoT Platform

The Bolt IoT Developer Hub

Welcome to the Bolt IoT developer hub. You'll find comprehensive guides and documentation to help you start working with Bolt IoT as quickly as possible, as well as support if you get stuck. Let's jump right in!

Guides    Guides

Sample Code


Python code for Digital Write API request

import requests

url = ""

querystring = {"pin":"2","state":"HIGH","deviceName":"BOLT8795377"}

headers = {
    'Cache-Control': "no-cache"

response = requests.request("GET", url, headers=headers, params=querystring)



PHP code for Digital Write API request


$request = new HttpRequest();

  'pin' => '2',
  'state' => 'LOW',
  'deviceName' => 'BOLT8795377'

  'Cache-Control' => 'no-cache'

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;