APIs

The ClearBlade Platform supports the MQTT, WebSockets, and REST native APIs.

MQTT

ClearBlade provides an API for authentication and Pub/Sub to the MQTT broker using the MQTT protocol. The MQTT broker is running on ports 1883 and 1884 (TLS). See Messaging for details.

WebSockets

ClearBlade provides an API for authentication and Pub/Sub to the MQTT broker using WebSockets. The WebSockets server runs on ports 8903 and 8904 (TLS). See Messaging for details.

REST

REST API is the primary API used to interact with the ClearBlade Cloud and Edge Platform. It follows an OAuth 2 model. A REST API query schema is a structured data representation that a REST API can accept or return.