Registration API
Register self-hosted (Home) and linked (Link) agent installations. These endpoints are backend-only and support the Home and Link deployment modes alongside the default Cloud mode.Home mode runs the agent container on your own hardware via Docker. Link mode connects an existing OpenClaw instance to the Agentbot platform. Cloud mode (the default) runs the agent on Agentbot infrastructure.
Validate API key
api_keys database table. Raw keys are never stored or compared directly. No session authentication is required — the API key is passed in the Authorization header.
The web application’s key validation endpoint uses a separate bcrypt-based lookup with the
sk_ prefix convention. The backend endpoint documented here uses SHA-256 hashing and does not require the sk_ prefix.Headers
Response
Errors
Register Home installation
The web proxy forwards identity headers (
x-user-email, x-user-id, x-user-role) from the active session, but the backend authenticates the request using the bearer token, not these headers.Request body
Response
Errors
Register Link installation
The web proxy forwards identity headers (
x-user-email, x-user-id, x-user-role) from the active session, but the backend authenticates the request using the bearer token, not these headers.Request body
Response
Errors
List installations
Response
Errors
Registration heartbeat
userId matches a known registration, the lastSeen timestamp is updated and the status is set to active. No authentication is required.
This is a backend registration heartbeat for Home and Link installations. It is separate from the web heartbeat settings endpoint, which configures heartbeat scheduling for the web dashboard.