REST API reference.
JSON over HTTPS at https://app.saaspocalypse.online/api/v1. The same reference is available as an OpenAPI 3.1 document.
Last updated 15 November 2026
Basics
- Send your key on every request:
Authorization: Bearer sp_your_key. See how to make a key. - Requests and answers are JSON. Field names are camelCase.
- Dates are
YYYY-MM-DD. Timestamps are ISO 8601 in UTC. - A single record answers
{ "data": { … } }. - Money is in whole units of its currency:
9500with"GBP"is £9,500.
Lists and paging
A list answers { "data": [ … ], "nextCursor": "…" }. Pass limit (1 to 200, 50 by default). When nextCursor is not null, pass it back as cursor for the next page. The cursor is a position in the list, so records added while you page can shift what a later page holds.
Creating and changing
POSTcreates and answers 201 with the new record.PATCHchanges only the fields you send.DELETEarchives the record and answers{ "data": { "id": "…", "archived": true } }. Nothing is erased.- Unknown query parameters and unknown body fields are refused with a 422, so a typo never passes silently.
- Bookings and projects may also return
warnings: the request succeeded, with something worth knowing.
Errors
Every error has the same shape:
{
"error": {
"code": "validation_failed",
"message": "Check values.Status, values.Words.",
"fields": {
"values.Status": "\"Shipped\" is not one of the choices for Status.",
"values.Words": "Words needs a number."
}
}
}| Status | Code | When |
|---|---|---|
| 400 | invalid_json | The body is not a JSON object. |
| 401 | unauthorized | The key is missing, wrong or revoked. |
| 403 | insufficient_scope | A read key tried to change something. |
| 404 | not_found | No such path or record. |
| 405 | method_not_allowed | The path exists but not with that method. The Allow header lists what does. |
| 413 | payload_too_large | The body is over 256 KB. |
| 422 | validation_failed | A value is missing or wrong. "fields" gives a message per field. |
| 422 | refused | The request is well formed but a rule of the app says no, with the app's own message. |
| 429 | rate_limited | Too many requests. Retry-After says how many seconds to wait. |
| 500 | internal_error | Something went wrong on our side. |
Rate limits
Each key may make 120 requests a minute, shared with the MCP server. Every answer carries X-RateLimit-Limit and X-RateLimit-Remaining; a 429 carries Retry-After in seconds. An address that sends 30 requests a minute without a valid key is also asked to wait.
Examples
Add a card to a board
curl -X POST https://app.saaspocalypse.online/api/v1/work-items \
-H "Authorization: Bearer $SP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectId":"prj_lkxxhNIJ4TBwolH8","title":"Draft the launch announcement","priority":"high","dueDate":"2026-11-27","labels":["launch"]}'{
"data": {
"id": "wi_jf0U1T6wz66KKJgg",
"projectId": "prj_lkxxhNIJ4TBwolH8",
"title": "Draft the launch announcement",
"priority": "high",
"dueDate": "2026-11-27",
"labels": ["launch"],
"stage": { "id": "stg_iAR0bHpFKyE1vI8D", "name": "To do", "done": false },
"project": { "id": "prj_lkxxhNIJ4TBwolH8", "name": "Brand refresh" },
"assignees": [],
"commentCount": 0
}
}Win a deal
Moving a deal to a won stage also creates its project, exactly as it does on the board.
curl -X POST https://app.saaspocalypse.online/api/v1/deals/deal_SCMjl417iD15fEDB/move \
-H "Authorization: Bearer $SP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"stageId":"dst_xk8gN6H5o11Xbr8P"}'Add a row to a table
Send values by field name or field id. Select fields take the choice’s name; link and member fields take names or ids; null clears a cell. The answer gives values by field id and display as readable text by field name.
curl -X POST https://app.saaspocalypse.online/api/v1/tables/tbl_YOAs5lJsVlYBHVef/rows \
-H "Authorization: Bearer $SP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"values":{"Name":"API launch post","Status":"In progress","Publish date":"2026-12-02","Words":900}}'A rule says no
{ "error": { "code": "refused", "message": "Ada Okafor isn't contracted to work that day." } }Reference: Workspace
What the key can reach.
| Request | What it does | Parameters and fields |
|---|---|---|
GET /workspace | The workspace this key belongs to | None |
Reference: Planner
People and projects (on every plan), and bookings and the schedule (S/Planner).
| Request | What it does | Parameters and fields |
|---|---|---|
GET /people | List people | Query: limitcursor |
POST /people | Add a person | Body: name*emailroleLabelregionIdemploymentstandardDayHoursstartDateendDate |
GET /people/{id} | Get a person | None |
PATCH /people/{id} | Change a person | Body: nameemailroleLabelregionIdemploymentstandardDayHoursstartDateendDate |
DELETE /people/{id} | Archive a person | None |
GET /projects | List projects | Query: companyIdstatuslimitcursor |
POST /projects | Add a project | Body: name*companyIdcodestatusbillablestartendbudgetHours |
GET /projects/{id} | Get a project | None |
PATCH /projects/{id} | Change a project | Body: namecompanyIdcodestatusbillablestartendbudgetHours |
GET /bookings | List bookings in a date range | Query: start*end*personIdprojectIdlimitcursor |
POST /bookings | Book people onto a project | Body: projectId*personIds*start*endhoursPerDay*statusphaseIdrepeatWeeklyrepeatUntillabelnotes |
GET /bookings/{id} | Get a booking | None |
PATCH /bookings/{id} | Change a booking | Body: projectIdpersonIdsstartendhoursPerDaystatusphaseIdrepeatWeeklyrepeatUntillabelnotes |
DELETE /bookings/{id} | Remove a booking | None |
GET /schedule | Booked and available hours per person | Query: start*end*personIdprojectIddays |
Reference: Boards
Work items on a kanban board (S/Boards).
| Request | What it does | Parameters and fields |
|---|---|---|
GET /stages | List board stages | Query: limitcursor |
GET /work-items | List work items | Query: projectIdstageIdassigneeIddueBeforedueAfterlimitcursor |
POST /work-items | Add a work item | Body: projectId*title*descriptionstageIdassigneeIdslabelsprioritydueDateestimateHoursparentIdclientVisible |
GET /work-items/{id} | Get a work item | None |
PATCH /work-items/{id} | Change a work item | Body: titledescriptionstageIdassigneeIdslabelsprioritydueDateestimateHoursparentIdclientVisible |
DELETE /work-items/{id} | Archive a work item | None |
POST /work-items/{id}/move | Move a work item to a stage | Body: stageId*beforeId |
GET /work-items/{id}/comments | List a work item's comments | Query: limitcursor |
POST /work-items/{id}/comments | Comment on a work item | Body: body* |
Reference: CRM
Companies, contacts, deals and the pipeline (S/CRM).
| Request | What it does | Parameters and fields |
|---|---|---|
GET /companies | List companies | Query: lifecyclelimitcursor |
POST /companies | Add a company | Body: name*lifecyclewebsiteindustryownerUserIddeliveryOwnerUserIdrenewalDatenotes |
GET /companies/{id} | Get a company | None |
PATCH /companies/{id} | Change a company | Body: namelifecyclewebsiteindustryownerUserIddeliveryOwnerUserIdrenewalDatenotes |
GET /contacts | List contacts | Query: companyIdlimitcursor |
POST /contacts | Add a contact | Body: name*companyIdemailphonetitlenotes |
GET /contacts/{id} | Get a contact | None |
PATCH /contacts/{id} | Change a contact | Body: namecompanyIdemailphonetitlenotes |
GET /deal-stages | List pipeline stages | Query: limitcursor |
GET /deals | List deals | Query: companyIdstageIdstatuslimitcursor |
POST /deals | Add a deal | Body: name*companyId*contactIdvaluecurrencyownerUserIdexpectedClosesourcenotesstageId |
GET /deals/{id} | Get a deal | None |
PATCH /deals/{id} | Change a deal | Body: namecompanyIdcontactIdvaluecurrencyownerUserIdexpectedClosesourcenotes |
DELETE /deals/{id} | Archive a deal | None |
POST /deals/{id}/move | Move a deal to a stage | Body: stageId*beforeId |
GET /pipeline | Pipeline totals | None |
Reference: Tables
Tables with typed fields, rows and saved views (S/Tables).
| Request | What it does | Parameters and fields |
|---|---|---|
GET /tables | List tables | Query: limitcursor |
GET /tables/{tableId} | Get a table with its fields and views | None |
GET /tables/{tableId}/rows | List a table's rows | Query: viewIdlimitcursor |
POST /tables/{tableId}/rows | Add a row | Body: values* |
GET /tables/{tableId}/rows/{rowId} | Get a row | None |
PATCH /tables/{tableId}/rows/{rowId} | Change a row's cells | Body: values* |
DELETE /tables/{tableId}/rows/{rowId} | Remove a row | None |
A star marks a required parameter or field. Types, allowed values and full response shapes are in the OpenAPI document.