Developer API v1 & PAT
Read and write page drafts; scopes and expiry are managed in the panel, revocation too.
Access Developer API v1 with a PAT, receive events through signed webhooks, edit theme code in the Cloud IDE and draft pages from Claude Code, Codex or Gemini.
Developer surface
Extend without breaking the standard flow; you own the theme code, publishing always happens from the panel.
/api/v1/* endpoints with a PAT
pages:read · pages:write scopes; time-limited, revocable
X-Webhook-Event header and signature verification
Claude Code · Codex · Gemini CLI
Capabilities
Six developer surfaces; all of them work within the same account and plan scope.
Read and write page drafts; scopes and expiry are managed in the panel, revocation too.
Order, customer and content events to your own system; verified with an HMAC signature.
Edit theme code from the browser; add Studio-compatible sections and elements.
Draft pages from Claude Code, Codex or Gemini CLI; the theme catalog is read from disk.
Fetch content and product data from the API and render it in your own front end.
Section = layout + slots, element = content. Register your own component and use it in Studio.
Getting started
Get the PAT from the panel (Settings → Developer / API Keys), send the request with a Bearer header; for MCP a .mcp.json is enough.
Authorization: Bearer tcf_… header; the key is stored hashed on the server.
pages:read and pages:write; team membership is rechecked on every request.
30, 90, 180 or 365 days; revoke instantly from the panel.
The key is bound to the user and the store; you do not need to send a store ID separately.
# GET /api/v1/pages — sayfa taslaklarını listeleyin (PAT, scope: pages:read)curl -s "$TECOF_API_URL/api/v1/pages?themeId=$TECOF_THEME_ID" \ -H "Authorization: Bearer $TECOF_API_TOKEN" # .mcp.json — Claude Code / Codex / Gemini CLI'dan sayfa taslağı{ "mcpServers": { "tecof": { "type": "stdio", "command": "npx", "args": ["-y", "@tecof/mcp@latest"] } }}Page drafts with MCP
Three steps; the draft appears in Studio, the publish decision stays in the panel.
Settings → Developer / API Keys; pick the pages:read and pages:write scopes and the expiry.
Put a .mcp.json in your theme repo; Claude Code, Codex or Gemini CLI starts the server automatically.
The agent builds the draft from the sections and elements in the theme catalog; you edit and publish in Studio.
Modules
API access, webhooks and Cloud IDE; each card shows the lowest plan that unlocks the module.
Frequently asked questions
If your question is not answered here, use the contact form.
Sign up, create a PAT in the panel and write the first draft with @tecof/mcp. Plan scope for developer modules is listed on the pricing page.
Developer API v1 · Webhooks · Cloud IDE · @tecof/mcp