| title | OpenClaw Integration |
|---|---|
| sidebar_position | 1 |
This page summarizes the current OpenClaw integration surface implemented in this repository.
- Backend platform API prefix:
/api/v1/platform/* - Plugin authentication: Bearer token +
X-Bricks-Plugin-Id - Data model: reuses existing
chat_messagesstorage - Token retrieval: app settings flow + backend token endpoint
GET /api/v1/platform/eventsGET /api/v1/platform/events/stream?cursor=...(SSE – used by plugin client for event consumption)POST /api/v1/platform/events/ackPOST /api/v1/platform/messagesPATCH /api/v1/platform/messages/:messageIdGET /api/v1/platform/conversations/resolve
Current reference implementation in apps/node_openclaw_plugin uses JWT-only startup flow.
docs/plugin_development_architecture.mdapps/node_backend/src/routes/platform.tsapps/node_openclaw_plugin/src/pluginRunner.ts