The sequence diagram below shows the message flow between the Webhook client, Mist cloud, and Mist AP:
sequenceDiagram
participant RC as REST Client
participant WC as Webhook Client
participant M as Mist Cloud
participant AP as Mist AP
# user login api call
RC->>+M: User invokes the "login" API
Note over M: User auth
M->>-RC: Auth token
Note over RC: Client saves<br>auth token
# webhook creation
RC->>+M: User invokes the "webhook" API
Note over M: Create Webhook
M->>-RC: OK
# push webhook topic updates
RC->>M: User makes configuration changes
M->>WC: POST to Webhook URL
M->>AP: Push changes
Note over AP: Device/Client<br/>Update
AP->>M: Send stats
M->>WC: POST to Webhook URL