Skip to main content
The ClawHQ dashboard exposes a REST API for managing agents, settings, and integrations programmatically.

Base URL

http://localhost:3500/api
Replace localhost:3500 with your ClawHQ domain in production.

Authentication

All API requests require a valid session. Authenticate via WorkOS (see dashboard login) and include the session cookie, or generate an API token under Settings → General → API Tokens.
curl -H "Authorization: Bearer YOUR_TOKEN" \
  https://your-clawhq.com/api/agents

Endpoints

Agents

MethodPathDescription
GET/api/agentsList all agents
GET/api/agents/:idGet agent details
POST/api/agentsCreate an agent
PATCH/api/agents/:idUpdate agent config
DELETE/api/agents/:idDelete an agent

Settings

MethodPathDescription
GET/api/settingsGet current settings
PATCH/api/settingsUpdate settings

Integrations

MethodPathDescription
GET/api/integrationsList integrations and status
POST/api/integrations/:id/testTest an integration connection

Sessions & Activity

MethodPathDescription
GET/api/sessionsList recent agent sessions
GET/api/metricsUsage and cost metrics
Full OpenAPI spec coming soon. In the meantime, all endpoints return JSON and follow REST conventions.