DCE External API
REST API for programmatic access to DCE data. Used by OpenClaw, Polsia, and other integrations. Available on the Connected plan ($22/user/month).
Authentication
All external endpoints require an API key header:
x-api-key: <your-api-key>Generate API keys from Settings → API Keys inside your DCE organisation. Requires the Integrator, Admin, or Owner role, and the Connected plan.
Utility Endpoints (GET)
| Endpoint | Parameters | Description |
|---|---|---|
/api/external/ping | org_id | Connection health check (returns ok, orgName, plan) |
/api/external/teams | org_id | List teams with IDs and member counts |
/api/external/members | org_id | List org members with user IDs, names, emails, roles |
Read Endpoints (GET)
| Endpoint | Parameters | Description |
|---|---|---|
/api/external/vto | org_id | Company Strategy and Execution plan (13 sections) |
/api/external/meetings/latest | org_id | Latest completed meeting with recap |
/api/external/topics | org_id | Open Issues |
/api/external/todos | org_id, include_completed (optional), completed_since (optional ISO date) | Open (incomplete) to-dos by default. include_completed=true adds completed rows; completed_since bounds those. There is no by-id GET and no archived-list endpoint. dueDate is null on a To-Do with no due date, listed after the dated ones |
/api/external/scorecards | org_id, team_id (optional) | List scorecards (KPIs) |
/api/external/scorecards/{id} | org_id, from, to, include (optional) | Scorecard with measurables and weekly entries. include=goal_history adds each KPI's newest goal change, and the newest from the goals sheet sync |
/api/external/ai-usage | org_id, from, to (optional) | AI usage logs |
/api/external/priorities | org_id | List Company Priorities (a Personal Life Rock is not counted) |
/api/external/projects | org_id | List Rocks (Personal Life Rocks are never returned) |
/api/external/staleness | org_id, team_id (optional) | Stale Rocks, overdue todos |
/api/external/audit-log | org_id, from, to, limit (optional) | API call audit log |
/api/external/pipeline/deals | org_id, pipeline (optional: CONSULTING, SELF_SERVICE, DEVELOPMENT_SHELL), stage (optional) | List deals. Each row includes dealType |
/api/external/portfolio/rows | org_id, include_archived (optional, true or false) | Every Automation Portfolio row of the org, one per initiative; archived rows only on request (#3472) |
/api/external/portfolio/opportunities/{id} | org_id | One Opportunity with its newest agent write log rows (#3472) |
/api/external/portfolio/investments/{id} | org_id | One Dev Project (kind investment) with its newest agent write log rows (#3472) |
Write Endpoints (POST / PATCH)
| Endpoint | Method | Description |
|---|---|---|
/api/external/todos | POST | Create a todo (title, dueDate as an ISO date string, description, teamId, assignedToUserId, sourceType, sourceId). Reserved sourceType values are rejected |
/api/external/todos/{id} | PATCH | Update a todo (status, assignedToUserId, dueDate, description, archived). The response, like the GET, returns dueDate as null for a To-Do with no due date; a PATCH cannot set null |
/api/external/topics | POST | Create an Issue (title, description, teamId, horizon, sourceType, sourceId). Reserved sourceType values are rejected |
/api/external/topics/{id} | PATCH | Update an Issue (status, description) |
/api/external/meetings | POST | Create a meeting (title, meetingType, scheduledAt, teamId, status). meetingType supports AD_HOC. Pass status: COMPLETED to log a past meeting. |
/api/external/meetings/{id} | PATCH | Update a meeting (recapText, status, sections). On a date of a repeating meeting this changes that date only: new dates keep the meeting's title, times, link, location, team and people, and sections still reach the next date when it copies this one. status: CANCELLED is not kept as that date's own. Cancelling the newest date leaves that week to be booked again. Cancelling an earlier date does not: new dates follow the newest date, so that week stays cancelled. While any date is not cancelled, a finished one included, new dates keep being made, so cancelling every remaining date does not end a meeting with a finished date. A meeting whose every date is cancelled this way gets no new dates. |
/api/external/pipeline/deals | POST | Create a deal (pipeline CONSULTING \| SELF_SERVICE \| DEVELOPMENT_SHELL, dealType, stage). dealType is the service line; omit it to use the pipeline default |
/api/external/scorecards/goals | POST | Move KPI goals to figures from a goals sheet (org_id in the query; sourceFingerprint, changes[] of at most 500 with measurableId, expectedTitle, goalValue; asOf, dryRun). DCE keeps sourceFingerprint only as the kind of source, a content hash (sha256 of the file) and its modified time, and drops any other text in it, such as a file path, a sharing link or a name. 403 unless Better Execute has enabled the sync for the org. A dry run unless dryRun is false. A write is kept in goal history and applies from the period in progress. A goal a person edited since your last read is overwritten, and the value it replaced is kept in history. Answers 200 with results and totals; each row is changed, unchanged, rejected or failed, so a failed row does not stop the others. Re-run for a failed row; a rejected row needs its input corrected |
/api/external/pipeline/deals | PATCH | Update a deal (dealType, stage, title, description) |
Canvas API
| Endpoint | Auth | Description |
|---|---|---|
GET /api/canvas/{token}?format=json | Share token | Canvas data as JSON |
GET /api/canvas/{token}?format=markdown | Share token | Canvas data as Markdown |
Strategy Plan Response Shape
GET /api/external/vto?org_id=<uuid> returns the company Strategy & Execution Plan with 13 section keys:
- coreValues, purposeAndAmbition, fiveYearDirection
- currentBusinessReality, priorityMarkets, strategicBoundaries
- competitiveAdvantage, keyCapabilities, operatingModel
- annualPriorities, quarterlyCommitments
- risksAndOpenQuestions, successMeasures
Each section includes content, AI Agent Guidance, status, owner, last updated timestamp, review cadence, and change history.
Source Tracking
Send the X-DCE-Source header to identify your integration in the API activity log. Supported values: openclaw, mcp, polsia, n8n, custom.
Automated Monitoring
DCE includes an Integrations Agent that automatically monitors API usage for reliability and security issues — connector silence, rate limit warnings, unknown sources, volume spikes, dormant key activation, and write escalation. Findings appear as proposals in the Proposals page and can be triggered manually from the Integrations Hub.
Connectors
- DCE MCP Server: MCP connector for Cursor, Claude Desktop, and Polsia
- OpenClaw: Founder productivity plugin
- Polsia / Clozure: AI support integration
- n8n: Workflow automation via HTTP Request nodes