Skip to content

API Overview

https://saasmaker-api.sarthakagrawal927.workers.dev

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. Successful responses return the resource or a list:

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

Or for single-resource operations:

{ "ok": true }

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

{ "error": "Title is required" }

Common status codes:

CodeMeaning
400Bad request (missing or invalid fields)
403Forbidden (not the project owner)
404Resource not found
409Conflict (duplicate entry)
413Payload too large

The API allows cross-origin requests from any origin. Widgets and browser-based SDK calls work without proxy configuration.

GET /health

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

The API runs on Cloudflare Workers with no hard rate limits currently enforced. Abuse may result in throttling.

ServicePrefixDocs
Feedback/v1/feedbackFeedback
Waitlist/v1/waitlistWaitlist
Testimonials/v1/testimonialsTestimonials
Changelog/v1/changelogChangelog
Knowledge Base/v1/indexesKnowledge Base
Analytics/v1/analyticsAnalytics