Integration overview

Updated at:

IoT Platform supports multiple API integration methods, including OpenAPI Explorer, Alibaba Cloud SDKs, Terraform, and Resource Orchestration Service (ROS).

API overview

Alibaba Cloud OpenAPI lets developers programmatically access and manage cloud services. OpenAPI Explorer provides intelligent search, documentation, online debugging, SDK downloads, sample code, error diagnosis, and call statistics for all Alibaba Cloud APIs. What is an API?

Versions

OpenAPI Explorer supports online debugging for the 2018-01-20 API version. This is a version identifier, not a date — OpenAPI Explorer covers all latest public APIs. API version.

Version number

Description

2018-01-20

The recommended version.

Online debugging

Debug IoT Platform APIs in OpenAPI Explorer. Before you start, review the API version, endpoints, and request parameters.

In OpenAPI Explorer, select the QueryProduct API, set Service Address to China (Beijing), configure IotInstanceId (optional) and ProductKey (required), and click Initiate Call.

Online debugging page

API debugging portal: Debug IoT Platform APIs.

Endpoints

Endpoints are access points for Alibaba Cloud services. IoT Platform provides public endpoints and Virtual Private Cloud (VPC) endpoints.

  • Public endpoints are globally accessible.

  • VPC endpoints are accessible only within a VPC in a specific region. Benefits:

    • Higher security and privacy through VPC-only access.

    • Faster responses through the internal network, avoiding public network latency and bandwidth limits.

    • Lower cost by eliminating public bandwidth charges.

Select the endpoint nearest to your users or business to minimize latency. For example, choose China (Hangzhou) if most users are in Hangzhou.

IoT Platform endpoints are listed in Regions.

User identities

OpenAPI Explorer uses your Alibaba Cloud account for debugging by default. Because the root account has full API permissions, we recommend using a RAM user for API calls and routine O&M. Grant the RAM user the required IoT Platform permissions before use. Mapping between IoT Platform API operations and RAM policies.

Identity

Supported

Alibaba Cloud account

Yes

RAM user (recommended)

Yes

RAM role (recommended)

Yes

References

Integration methods

Note

We recommend SDKs for API calls. SDKs integrate easily with applications and cover the widest range of operations.

Integration method

Supported

Alibaba Cloud SDKs

Yes

Alibaba Cloud CLI

Yes

Terraform

Partially supported

ROS

Partially supported

Custom API encapsulation

Yes

Usage notes

  • QPS limits vary by API operation. Check the QPS limits section in each operation's API reference.

    Note

    All RAM users under an Alibaba Cloud account share its QPS quota.

  • If an API call returns an error, verify your request parameters against the Error codes reference.

  • You can also use the OpenAPI problem diagnosis tool with the request ID or SDK error message for self-service troubleshooting.