Skip to content

API Overview

https://api.sassmaker.com

All endpoints are prefixed with /v1/.

Two methods are supported. See Authentication for details.

MethodHeaderUse case
API KeyX-Project-Key: pk_...SDK, widgets, public endpoints
Session TokenAuthorization: Bearer <token>Dashboard, CLI, admin operations

All request bodies must be JSON with Content-Type: application/json.

All responses return JSON. List endpoints return a paginated envelope:

{ "data": [...], "total": 42, "page": 1, "limit": 20 }

Single-resource creates and updates return the full record; mutations without a body return { "ok": true }.

List endpoints accept page (1-indexed) and, where supported, limit. Defaults are page=1 and a per-endpoint limit (typically 2050). total is always returned so clients can compute the last page.

Errors return a JSON object with an error field and an appropriate HTTP status code:

{ "error": "title is required" }
CodeMeaning
400Bad request (missing or invalid fields)
401Unauthenticated (missing or invalid token / key)
403Forbidden (authenticated, but not the project owner)
404Resource not found
409Conflict (duplicate entry)
413Payload too large
429Rate-limited — see below

Per-project rate limits are enforced on public endpoints. The default is configurable per project (rate_limit_rpm on the project record) and limits are reported back via standard headers when a request is throttled. When you hit the limit you’ll get 429 with { "error": "Rate limit exceeded" } — back off and retry.

The API allows cross-origin requests from a fleet allowlist (sassmaker.com, app.sassmaker.com, *.pages.dev, *.workers.dev, localhost). Other origins fall back to https://app.sassmaker.com.

GET /health

Returns { "status": "ok" } if the API is running. No authentication required.

ServicePrefixDocs
Projects/v1/projectsProjects
Feedback/v1/feedbackFeedback
Roadmap/v1/roadmapRoadmap
Waitlist/v1/waitlistWaitlist
Testimonials/v1/testimonialsTestimonials
Changelog/v1/changelogChangelog
Standards/v1/standardsFleet standards (CLI-driven)
Tasks/v1/tasksCockpit tasks
Jobs/v1/jobsCockpit jobs
Auth/v1/auth / /v1/cliSessions and CLI auth