Skip to content
SaaSLaunchKit
Developers

API reference

A static reference layout for REST endpoints, authentication, parameters, errors, and copy-ready code samples. Replace the demo endpoints with your own.

https://api.example.com/v1 Bearer token REST · JSON

Authentication

Send your API key as a Bearer token. Keys are shown as placeholders only — this template never stores or transmits credentials.

Base URL

https://api.example.com/v1

Authentication

Authorization: Bearer <key>

curl https://api.example.com/v1/projects \
  -H "Authorization: Bearer $SLK_API_KEY"

Endpoints

GET/v1/projectsList projects

Returns every project in the workspace, newest first. Paginated with a cursor.

Parameters

NameTypeDescription
limitintegerPage size, 1–100. Default 20.
cursorstringCursor from the previous response.
statusstringFilter by live, draft, or paused.

Response

{
  "data": [
    {
      "id": "prj_8f2c",
      "name": "Launch site",
      "status": "live",
      "created_at": "2026-11-12T09:24:00Z"
    }
  ],
  "next_cursor": "cur_19x"
}
POST/v1/projectsCreate a project

Creates a project and returns the full object. Names must be unique per workspace.

Parameters

NameTypeDescription
namerequiredstringProject name, 1–80 characters.
templatestringStarter template id. Defaults to blank.

Request

{
  "name": "Docs portal",
  "template": "docs"
}

Response

{
  "id": "prj_a91d",
  "name": "Docs portal",
  "status": "draft",
  "created_at": "2026-11-29T08:10:00Z"
}
GET/v1/projects/:idRetrieve a project

Returns one project by id, including its latest deploy status and page count.

Parameters

NameTypeDescription
idrequiredstringProject id, prefixed with prj_.

Response

{
  "id": "prj_8f2c",
  "name": "Launch site",
  "status": "live",
  "pages": 20,
  "deploy": { "state": "ready", "at": "2026-11-28T17:42:00Z" }
}
DELETE/v1/projects/:idDelete a project

Deletes a project and its deploy history. This cannot be undone.

Parameters

NameTypeDescription
idrequiredstringProject id to delete.

Response

{
  "deleted": true,
  "id": "prj_8f2c"
}

Error codes

StatusCodeMeaning
400invalid_requestA field is missing or malformed.
401unauthorizedThe API key is missing or revoked.
404not_foundNo resource matches that id.
429rate_limitedToo many requests in the current window.

Rate limits

Limits are per workspace and reset on a rolling 60-second window. The demo numbers below are content, not enforcement.

PlanRequestsBurst
Starter60 / min10
Growth600 / min60
Scale6,000 / min300

Search the kit

Instant results