Hub
Hub

Links a hub to your account with the OTK.

Changed on
post/Hub/Link

Request

  • Base URL
    https://api.pishock.com
  • Auth
    • API key in header X-PiShock-Token
    • or API key in header X-PiShock-UserId
    • or API key in header X-PiShock-Server-Key
    • or API key in header X-PiShock-Api-Key

Request body

OTKstring guid

One-Time Key for the device.

Response

Hub has been Linked.

Changes