In addition to the IoT Device Manager in Developer Console, the REST API allows you to manage the deployed devices programmatically, from your own backend. Using the IoT Device Manager REST API, you can provision new devices, change their configuration, group them into fleets and deployments, add certificates and keys for their authentication.
In Developer Preview phase of Sync for IoT, all URLs in the reference documentation use the following base URL:
All requests to the IoT Device Manager REST API are served over HTTPS. Unencrypted HTTP is not supported.
HTTP requests to the REST API are protected with HTTP Basic authentication like other REST APIs provided by Twilio. To learn more about how Twilio handles authentication, please refer to our security documentation. In short, you will use your Twilio account SID as the username and your auth token as the password for HTTP Basic authentication.
curl -G https://preview.twilio.com/DeployedDevices/Fleets \ -u '[YOUR ACCOUNT SID]:[YOUR AUTH TOKEN]'
You can find your account SID and auth token in the admin console. Alternately, you can also use API keys and secrets to authenticate REST API requests - you can manage API key pairs in the console also.
You can use the Twilio Server-Side SDKs to interact with the IoT Device Manager REST resources.