CURRENT PRODUCTION CONTRACT

HomeAutoPro API

A curated path through the production REST, realtime and webhook interfaces. Interactive OpenAPI remains available as the canonical advanced schema.

Base · https://homeautopro.in
GETTING STARTED

From credentials to realtime.

  1. 1
    Create an accountVerify the owner identity and sign in.
  2. 2
    Create API credentialsSave the one-time API Secret locally.
  3. 3
    List devicesCall the owner-scoped GET /api/devices.
  4. 4
    Read or command stateValidate against the selected template.
  5. 5
    Subscribe to realtimeUse the owner or device WebSocket.
  6. 6
    Configure webhooksVerify every signed raw payload.

Authentication boundaries

Browser session

Secure HTTP-only cookie. State-changing browser requests require CSRF.

Application API

X-API-Key plus X-API-Secret. Responses stay owner-scoped.

Physical device

X-Device-Secret for REST, or the first WebSocket auth message.