Industrial IoT / SCADA · API / SDK

Azure IoT Hub REST API

Microsoft

Integrate device and service operations through IoT Hub interfaces.

Official documentationDownload development spec

AZURE IOT HUB / DEVELOPER FIELD GUIDE

Choose an interface. Define a verifiable result.

Company or project context, ten technical entry points and a practical analysis of every reference.

2026-10-08 · Integration not tested

Company / project overview

Original summary of official company or project statements; use the source for the full original page.

Azure IoT Hub · About
ServiceMicrosoft Azure IoT Hub is a managed device-to-cloud messaging and device-management integration service.
BoundariesTelemetry, desired configuration, command replies and file uploads have distinct completion criteria; hub tiers and client support determine available features.
Complete official About page ↗
About reference — TA analysis
AudienceBuyers, partners and product owners shortlisting an AI provider.
Our assessmentUse positioning and company history for initial fit. Obtain project-specific deployment, support and commercial terms separately.

Official sources reviewed. No provider API or inference was run; results are illustrative internal contracts.

Top 10 technical entry points

Ten documented technical entry points selected for implementation decisions, not ten independent SDKs or an official ranking.

Choose by the work you need to complete
InterfacePurpose and audience
01 · REST API familiesAPI / SDK / developer guideSeparate service, device messaging and resource management APIs.Backend integrators
02 · Device/service/management SDKsAPI / SDK / developer guideChoose SDK for device, backend or hub resource management.SDK implementers
03 · Device twinsAPI / SDK / developer guideSynchronize desired and reported properties.Device configuration teams
04 · Direct methodsAPI / SDK / developer guideInvoke device-defined request/reply operations.Interactive control developers
05 · Message routingAPI / SDK / developer guideFilter telemetry/events into built-in or custom endpoints.Telemetry pipeline teams
06 · Cloud-to-device messagesAPI / SDK / developer guideQueue one-way notifications for individual devices.Notification integrators
07 · Identity registryAPI / SDK / developer guideManage identities permitted to connect.Fleet identity engineers
08 · Scheduled jobsAPI / SDK / developer guideSchedule operations across device selections.Fleet operators
09 · Microsoft Entra service accessAPI / SDK / developer guideAuthorize service access with Entra identities and roles.Cloud security teams
10 · File uploadsAPI / SDK / developer guideCoordinate device uploads into linked Blob Storage.Large telemetry/media teams

Reference analysis

Capabilities summarize official documentation. Constraints and proposed tests are our engineering assessment.

01

API / SDK / developer guide

REST API families

REST API families · TA
Target audienceBackend integrators
Documented capabilitySeparate service, device messaging and resource management APIs.
Input → outputVersioned HTTPS requests → response and request ID.
Execution environmentHub endpoint, API-specific version and authorization.
Our decision constraintDo not reuse one overview API version across all operations.
Our suggested validationFollow operation-specific schema and ETag semantics.
Official reference · REST API families ↗
02

API / SDK / developer guide

Device/service/management SDKs

Device/service/management SDKs · TA
Target audienceSDK implementers
Documented capabilityChoose SDK for device, backend or hub resource management.
Input → outputTyped calls → telemetry, state or management responses.
Execution environmentPin SDK and platform support; use embedded SDK for constrained devices.
Our decision constraintUnified Azure IoT SDKs are listed as preview, not assumed production replacement.
Our suggested validationConfirm protocol and feature support of the selected language package.
Official reference · Device/service/management SDKs ↗
03

API / SDK / developer guide

Device twins

Device twins · TA
Target audienceDevice configuration teams
Documented capabilitySynchronize desired and reported properties.
Input → outputJSON desired update → reported application state.
Execution environmentStandard-tier feature; device and service permissions differ.
Our decision constraintLatest reported properties are not a complete time-series audit.
Our suggested validationCheck version, ETag and fresh device acknowledgement.
Official reference · Device twins ↗
04

API / SDK / developer guide

Direct methods

Direct methods · TA
Target audienceInteractive control developers
Documented capabilityInvoke device-defined request/reply operations.
Input → outputMethod name and JSON → device status/payload or timeout.
Execution environmentStandard tier; HTTPS service and supported device protocol.
Our decision constraintOrdering/concurrency is not guaranteed; timeout is not cancellation proof.
Our suggested validationEvaluate device application status as well as transport status.
Official reference · Direct methods ↗
05

API / SDK / developer guide

Message routing

Message routing · TA
Target audienceTelemetry pipeline teams
Documented capabilityFilter telemetry/events into built-in or custom endpoints.
Input → outputMessage and route condition → destination delivery.
Execution environmentDestination write access and sufficient throughput.
Our decision constraintMatching multiple routes is not arbitrary business exactly-once processing.
Our suggested validationCheck matching and nonmatching messages plus destination health.
Official reference · Message routing ↗
06

API / SDK / developer guide

Cloud-to-device messages

Cloud-to-device messages · TA
Target audienceNotification integrators
Documented capabilityQueue one-way notifications for individual devices.
Input → outputDevice-bound message → lifecycle and feedback.
Execution environmentStandard tier; protocol-specific settlement behavior.
Our decision constraintAt-least-once delivery requires idempotence; MQTT cannot reject or abandon.
Our suggested validationDistinguish message completion from long-running business completion.
Official reference · Cloud-to-device messages ↗
07

API / SDK / developer guide

Identity registry

Identity registry · TA
Target audienceFleet identity engineers
Documented capabilityManage identities permitted to connect.
Input → outputDevice/module identity → registry record.
Execution environmentHub registry permissions and device authentication.
Our decision constraintRegistry membership is not evidence of current connectivity.
Our suggested validationVerify exact identity and enabled/authentication configuration.
Official reference · Identity registry ↗
08

API / SDK / developer guide

Scheduled jobs

Scheduled jobs · TA
Target audienceFleet operators
Documented capabilitySchedule operations across device selections.
Input → outputJob target query and operation → per-device job outcomes.
Execution environmentCompatible hub tier and service permissions.
Our decision constraintScheduled or accepted is not fleet-wide completion.
Our suggested validationReconcile intended targets, successes and failures.
Official reference · Scheduled jobs ↗
09

API / SDK / developer guide

Microsoft Entra service access

Microsoft Entra service access · TA
Target audienceCloud security teams
Documented capabilityAuthorize service access with Entra identities and roles.
Input → outputIdentity token and assigned roles → authorized data operations.
Execution environmentConfigured tenant identity and appropriate IoT Hub role.
Our decision constraintService authorization is separate from device credentials.
Our suggested validationExercise least-privileged allowed and denied actions.
Official reference · Microsoft Entra service access ↗
10

API / SDK / developer guide

File uploads

File uploads · TA
Target audienceLarge telemetry/media teams
Documented capabilityCoordinate device uploads into linked Blob Storage.
Input → outputUpload initialization → SAS URI; blob upload → completion notification.
Execution environmentLinked storage/container, network access and expiring SAS.
Our decision constraintReceiving a SAS URI does not mean bytes were uploaded.
Our suggested validationVerify blob size/hash and correlate completion; never expose SAS.
Official reference · File uploads ↗

Official documentation

Official documentation · Supporting reference analysis
TADevelopers and technical product owners
Our validation advicePin the release and follow the target-specific support requirements before implementation.
Official reference · Official documentation ↗

04 / INPUT · EXPECTED OUTPUT · ACCEPTANCE

Expected results before implementation

Proposed device configuration and delivery contract, with invented examples only. No Azure requests, credentials or devices were used.

Illustrative contract · no API call or model execution · not measured provider output

Configuration applied

Expected behavior — illustrative, not executed
InputDesired telemetry interval updated; fresh device report matches.
Expected resultapplication_acknowledged=true with correlated version.
AcceptanceRequire reported application evidence, not only successful twin PATCH.

No matching fleet members

Expected behavior — illustrative, not executed
InputValid target query returns zero devices.
Expected resulttargets=[]; no device operations started.
AcceptanceShow valid empty selection rather than fleet-wide success.

Direct method timeout

Expected behavior — illustrative, not executed
InputDevice does not reply before configured response deadline.
Expected resultTimed out; physical outcome unknown.
AcceptanceDo not assume rollback; reconcile state before retrying a non-idempotent command.

Upload initialized but incomplete

Expected behavior — illustrative, not executed
InputSAS granted but blob transfer fails.
Expected resultupload_complete=false; preserve correlation ID and error.
AcceptanceNo completed-file event in internal contract until content is verified.

Map the expected result to your application

Map your actual runtime response into this proposed application contract. All values are invented examples; no credentials or live execution are included.

Expected output JSON — illustrative, not measured · AzureIoTHub-expected-results.json
{
  "schema_version": "1.0.0",
  "example": true,
  "provider": "Azure IoT Hub",
  "status": "ok",
  "input_id": "sample-001",
  "data": {
    "device_id": "demo-device-001",
    "desired_interval_seconds": 60,
    "reported_interval_seconds": 60,
    "reported_version_matches": true,
    "application_acknowledged": true
  },
  "error": null,
  "verification": "illustrative-only;not-provider-response"
}
Download specification, example and acceptance plan
Engineering handoff — our proposed contract and gates
State semanticsValid empty results differ from errors. Pending work must not appear successful before completion.
EvidenceRecord service and SDK versions, request identity, configuration and response mapping. No execution or performance was measured here.
Acceptance proposalAgree numerical tolerances and workload targets before testing on representative authorized samples.

Development assessment

Device-status workspace

Development concept · integration not tested

Provider capabilities above are based on official documentation or repositories. The proposed product, inputs, deliverable and acceptance criteria below are our development assessment.

Integration pilot

Validate runtime, schemas or hardware together before estimating a deployable product.

Proposed inputs
A test device or simulator, a tag map and documented units.
Proposed deliverable
Timestamped device values with freshness, unit and connection state.
Acceptance criterion
Verify scaling and timestamps against the source; a disconnected device must not appear healthy.
Dependencies
A gateway or service account, an equipment schema and access to a test environment.

Development sequence

  1. Confirm access to Azure IoT Hub REST API, license and the exact supported version.
  2. Prepare the sample above and implement one documented operation for “Device-status workspace”.
  3. Normalize the result with source, time and explicit error state; keep the provider response for review.
  4. Run the acceptance criterion before estimating rollout effort or committing a customer deliverable.

How to validate demand

Record product views, documentation clicks, specification downloads and contextual hub clicks. These are event counts, not unique people or completed integrations.

This feasibility assessment uses implementation conditions. No traffic-based rank or delivery-time promise is assigned.

Related products