CoAP URLs

Ubidots provides a unified CoAP interface for sending data to devices, variables, and user-defined functions. All CoAP requests must be sent using the POST method and must target the Ubidots CoAP host on port 5684.

Endpoint

ProtocolEndpointPort
CoAPcoap.ubidots.com5684

Full URLs

coap://coap.ubidots.com/iot/devices/<device_label>?token=<TOKEN>
coap://coap.ubidots.com/iot/devices/<device_label>/<variable_label>/values?token=<TOKEN>
coap://coap.ubidots.com/iot/functions/<username>/<function_label>

Notes

  • TLS is not supported for CoAP.
  • Currently, only the POST method is supported.