Sign in

Publish MQTT event

documented

Publish an MQTT event to the broker as defined by the hub configuration.

POST /mqtt_eventMQTT Eventno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://hubsdk.flic.io/v1/mqtt_event" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"topic": "{{$topic}}", "payload": {{$payload}} }'