Industrial IoT / SCADA · API

EMQX REST API

EMQ

Administer MQTT broker resources through documented REST endpoints.

Official documentationDownload development spec

EMQX / 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.

EMQX · About
Company and projectEMQ develops MQTT-based connectivity and real-time data infrastructure; EMQX is its broker platform.
Edition and versionThese current Enterprise documentation entrypoints require matching deployed version, licensed features and feature gates; they are not ten separate SDKs.
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 and OpenAPIAPI / SDK / developer guideInspect deployment API schema and automate broker management.Automation developers
02 · Client/session inspectionAPI / SDK / developer guideInspect connections and unexpired sessions.Operations engineers
03 · Subscription inspectionAPI / SDK / developer guideInspect client/topic/QoS and MQTT5 subscription options.MQTT integrators
04 · Retained message managementAPI / SDK / developer guideInspect stored retained topic payloads.Device-state consumers
05 · MQTT authenticationAPI / SDK / developer guideVerify client identities through configured authenticators.Device security developers
06 · MQTT authorizationAPI / SDK / developer guideControl publish/subscribe operations by client and topic.Tenant isolation teams
07 · Rules and actionsAPI / SDK / developer guideTransform/filter data with SQL-like rules and actions.Pipeline developers
08 · Prometheus metricsAPI / SDK / developer guideCollect runtime metrics with pull or push integration.SRE teams
09 · Filtered log traceAPI / SDK / developer guideTrace selected clients, topics, IPs or rules.Troubleshooting engineers
10 · gRPC hook extensionAPI / SDK / developer guideHandle broker events in an external language service.Extension developers

Reference analysis

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

01

API / SDK / developer guide

REST API and OpenAPI

REST API and OpenAPI · TA
Target audienceAutomation developers
Documented capabilityInspect deployment API schema and automate broker management.
Input → outputVersioned management request → JSON/status.
Execution environmentAPI key/secret or bearer token; deployed feature set.
Our decision constraint6.3 removes bundled Swagger UI; disabled features omit their API paths.
Our suggested validationRead installed schema; do not use Dashboard password as API Basic credentials.
Official reference · REST API and OpenAPI ↗
02

API / SDK / developer guide

Client/session inspection

Client/session inspection · TA
Target audienceOperations engineers
Documented capabilityInspect connections and unexpired sessions.
Input → outputClient filters → connection/session details.
Execution environmentAuthorized Dashboard or matching deployment API.
Our decision constraintA retained session does not mean its client is online.
Our suggested validationCheck connection state and full pagination before counting clients.
Official reference · Client/session inspection ↗
03

API / SDK / developer guide

Subscription inspection

Subscription inspection · TA
Target audienceMQTT integrators
Documented capabilityInspect client/topic/QoS and MQTT5 subscription options.
Input → outputClient/topic query → subscriptions.
Execution environmentMatching broker version and client MQTT version.
Our decision constraintSubscription existence is not proof of application receipt.
Our suggested validationValidate No Local and retained-message handling against requirements.
Official reference · Subscription inspection ↗
04

API / SDK / developer guide

Retained message management

Retained message management · TA
Target audienceDevice-state consumers
Documented capabilityInspect stored retained topic payloads.
Input → outputTopic selection → payload, QoS and publication time.
Execution environmentRetainer configuration and management access.
Our decision constraintRetained data may be stale; it is not a full message history.
Our suggested validationCheck publication time and expiry policy before displaying live state.
Official reference · Retained message management ↗
05

API / SDK / developer guide

MQTT authentication

MQTT authentication · TA
Target audienceDevice security developers
Documented capabilityVerify client identities through configured authenticators.
Input → outputClient credentials → authentication result.
Execution environmentConfigured certificate/password/JWT or supported mechanism.
Our decision constraintDo not assume authentication is enabled by default.
Our suggested validationVerify valid credentials and explicitly denied invalid clients.
Official reference · MQTT authentication ↗
06

API / SDK / developer guide

MQTT authorization

MQTT authorization · TA
Target audienceTenant isolation teams
Documented capabilityControl publish/subscribe operations by client and topic.
Input → outputIdentity/topic/operation → allow or deny.
Execution environmentConfigured permission sources and applicable cache behavior.
Our decision constraintAuthentication success does not grant every topic.
Our suggested validationCheck cross-tenant topics, QoS and retained-message permissions.
Official reference · MQTT authorization ↗
07

API / SDK / developer guide

Rules and actions

Rules and actions · TA
Target audiencePipeline developers
Documented capabilityTransform/filter data with SQL-like rules and actions.
Input → outputMessage event and rule → action or republished output.
Execution environmentEnabled rule engine and configured connectors/actions.
Our decision constraintA rule match does not prove destination commit.
Our suggested validationVerify transformed payload and sink result separately.
Official reference · Rules and actions ↗
08

API / SDK / developer guide

Prometheus metrics

Prometheus metrics · TA
Target audienceSRE teams
Documented capabilityCollect runtime metrics with pull or push integration.
Input → outputConfigured collection → metric time series.
Execution environmentMetrics feature gate and dashboard dependency in 6.3.
Our decision constraintPush mode is not identical to the full pull metric set.
Our suggested validationCheck metric availability and sample freshness on target release.
Official reference · Prometheus metrics ↗
09

API / SDK / developer guide

Filtered log trace

Filtered log trace · TA
Target audienceTroubleshooting engineers
Documented capabilityTrace selected clients, topics, IPs or rules.
Input → outputTrace filter → matching diagnostic events.
Execution environmentAuthorized tracing and bounded retention.
Our decision constraintNo matching events can mean an incorrect filter or idle traffic.
Our suggested validationUse a known event to validate trace coverage; redact sensitive payloads.
Official reference · Filtered log trace ↗
10

API / SDK / developer guide

gRPC hook extension

gRPC hook extension · TA
Target audienceExtension developers
Documented capabilityHandle broker events in an external language service.
Input → outputEMQX hook → gRPC server callback response.
Execution environmentExhook configuration and compatible callback schema.
Our decision constraintExternal service behavior becomes a dependency for configured hooks.
Our suggested validationTest handler outage, timeout and chained callback behavior.
Official reference · gRPC hook extension ↗

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

Illustrative broker observation contract; no broker, MQTT traffic or management API was used.

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

Correlated delivery

Expected behavior — illustrative, not executed
InputSynthetic event with known client and topic.
Expected resultBroker event and consumer event share application event ID.
AcceptanceDo not substitute connected=true for delivery evidence.

No clients match

Expected behavior — illustrative, not executed
InputAuthorized filtered query with no matching active clients.
Expected resultclients=[] with query scope preserved.
AcceptanceDistinguish empty filtered results from complete broker outage.

Expired management credential

Expected behavior — illustrative, not executed
InputREST request with expired bearer token.
Expected resultAuthentication error; no management result.
AcceptanceRenew through authorized flow without logging secrets.

Feature API unavailable

Expected behavior — illustrative, not executed
InputCall targets a path disabled by the installed feature set.
Expected resultUnsupported/disabled feature classification; not empty success.
AcceptanceCompare installed API schema and feature set before changing integrations.

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 · EMQXAPI-expected-results.json
{
  "schema_version": "1.0.0",
  "example": true,
  "provider": "EMQX",
  "status": "ok",
  "input_id": "sample-001",
  "data": {
    "client_id": "demo-client-001",
    "connected": true,
    "topic": "demo/telemetry",
    "consumer_observed": true,
    "retained_payload_is_live": false
  },
  "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

MQTT fleet health view

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.

Small prototype

Test one documented operation with a small real sample after access is confirmed. This is a development judgment, not a delivery estimate.

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 EMQX REST API, license and the exact supported version.
  2. Prepare the sample above and implement one documented operation for “MQTT fleet health view”.
  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