OpenClaw API Guide: Gateway Protocol, Auth, and Safe Integration
Build a reliable OpenClaw integration from the documented Gateway contract. This guide explains WebSocket RPC, device pairing, operator scopes, events, reconnect recovery, idempotency, the restricted tools invoke endpoint, version pinning, and production security boundaries.