Cloud API
#
API OverviewThe IoT in a Box API is a RESTful API. REST is a lightweight, stateless web service standard that myDevices IoT provides to our partners so that they may access and consume their data. Our REST API is secured with OAuth2 standard, which offers increased security by using JWT access tokens. In addition to Authorization and Authentication mechanism, we encrypt all transport communications with TLS/SSL endpoints. API Host: https://api.iotinabox.com
#
Getting Started Quickly- Sign up for an IoT in a Box account.
- Login and obtain the API Client Credentials for the account.
- Authorize yourself using OAuth2.
- Start making API Calls.
#
Example Applications#
Obtaining an Access TokenUse the following curl command to obtain an access token using the oAuth2 Resource Owner Flow.
#
Authentication Endpoints- Token URL:
https://api.iotinabox.com/v1.0/oauth/token
- Authorize URL:
https://api.iotinabox.com/v1.0/oauth/auth