The EmbedThis Ioto API is a REST API to allow you to interact with the Ioto service.
The Ioto API provides calls to:
- Manage devices
- Access device database data
- Create and access metric data
- Provision devices with certificates and credentials
To authorize your request, you need to supply a CloudAPI authentication token obtained from the Builder. The CloudAPI token grants administrator privilege to the caller when accessing a device cloud. The authentication tokens can be accessed from the Builder Token list or from the Cloud/Edit panel.
The Ioto API endpoint is unique per device cloud. You can see the API endpoint in the Cloud/Edit panel.
All API requests use the POST method for simplicity.
To include the token in your request, add the token ID via the Authorization HTTP header with a "bearer" prefix. For example:
The API requests use a HTTP Content-Type of application/json for both requests and responses.
Using the Ioto url command:
or using Curl:
1 2 3 4 5