SimplerDevelopment API — Developer Docs

SimplerDevelopment exposes three distinct API surfaces depending on who is calling and what they need. Pick the one that fits your use case and jump to the relevant reference pages below.


The three API surfaces#

(a) REST v1 API — authenticated headless CMS / commerce#

Base URL: https://<your-portal-domain>/api/v1/sites/{siteId}/...

Credential: sd_live_ API key — issued per site under Settings > API Keys in the portal.

Use this surface when you are building a server-side integration, CI pipeline, or headless front end that needs to read or write content (posts, pages, blocks, media, products, bookings, site config) against a specific site you manage. Every request is site-scoped, rate-limited, and returns a consistent { success, data | message } JSON envelope.

Get started with authentication →

Machine-readable spec: an OpenAPI 3.1 specification for this surface is served at /openapi.yaml. Import it into Postman, Insomnia, or an OpenAPI code generator to scaffold a typed client.


(b) Public API — unauthenticated front-end endpoints#

Base URL: https://<your-portal-domain>/api/public/...

Credential: None — these endpoints are intentionally open.

Use this surface from browser JavaScript (or any client where you cannot safely store a secret) for visitor-facing read operations: checking booking availability, submitting booking requests, sending a live-chat message, fetching published content by slug, and recording A/B test events. No API key is required, but each endpoint is scoped to a single site and returns the same JSON envelope as the REST v1 surface.

Booking & Gift Certificates → · Live Chat → · Public Content & A/B Events →


(c) MCP Server — AI agent API#

Base URL: POST https://simplerdevelopment.com/api/mcp

Credential: sd_mcp_ portal API key or sd_oauth_ OAuth access token — both issued in the portal.

Use this surface from inside AI environments (Claude Code, Claude Desktop, or any MCP-compatible agent). The MCP server exposes every major portal capability — content authoring, CRM, projects, email campaigns, surveys, pitch decks, company brain, billing, and more — as strongly-typed MCP tools. Scopes are enforced per tool call. Write tools that affect live content go through an approval-link workflow so a human can review before anything publishes.

MCP Server Overview →


Choose your API surface#

I want to…Use
Read or write posts, pages, media, products from a server or CI pipelineREST v1
Pull published content into a static site generator at build timeREST v1
Let a visitor book an appointment from a browser widgetPublic API
Embed a live-chat widget on a sitePublic API
Record a visitor A/B impression from client-side JavaScriptPublic API
Drive the portal from Claude Code or another AI agentMCP Server
Automate content drafts that a human approves before publishingMCP Server
Query the Company Brain / knowledge base from an AI workflowMCP Server

Table of contents#

REST v1 API#

PageWhat it covers
Authentication & Getting StartedAPI keys, request headers, rate limits, response envelope, status codes
CMS Content APIPosts, pages, categories, tags
Media APIFile uploads, media library management
Blocks APIBlock-level content read/write
Commerce APIProducts and product categories
Site Configuration APIBranding, config settings, navigation

Public API#

PageWhat it covers
Booking & Gift Certificates APIPublic booking availability, requests, gift certificate redemption
Live Chat APIVisitor chat initiation and messaging
Public Content & A/B Events APIPublished content by slug, A/B event recording

MCP Server#

PageWhat it covers
MCP Server OverviewTransport, credentials, scopes, approval workflow, connecting AI clients
Content & Storefront ToolsPosts, pages, block templates, media, products, orders
CRM, Services & Tickets ToolsContacts, companies, deals, pipelines, service catalogue, support tickets
Email, Surveys, Pitch Decks & Automations ToolsEmail campaigns, survey builder, pitch decks, workflow automations
Projects, Sprints, Kanban & Team ToolsProjects, milestones, sprints, boards, cards, team members
Company Brain ToolsKnowledge base entries, AI/RAG queries
Bookings, Integrations, Hosting, Billing & AI ToolsBooking pages, connected integrations, domains, invoices, AI chat

Conventions#

All three surfaces share the same JSON response envelope and error format. The canonical reference is authentication.md, but here is the short version.

Success

{
  "success": true,
  "data": { ... }
}

Error

{
  "success": false,
  "message": "A human-readable description of what went wrong."
}

Common status codes

CodeMeaning
200 OKRequest succeeded.
400 Bad RequestMissing or unparseable parameter.
401 UnauthorizedMissing, invalid, expired, or site-mismatched credential.
404 Not FoundResource or site does not exist / is not active.
429 Too Many RequestsRate limit exceeded — check the Retry-After header.

MCP error responses follow JSON-RPC 2.0 format ({ "jsonrpc": "2.0", "error": { "code": ..., "message": "..." } }). The 401 case is described in detail in the MCP Server Overview.

For full details on rate limits, CORS headers, and the MCP approval-link workflow, see the linked reference pages above.