REST API · version 1.0.0

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: 9500 with "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

  • POST creates and answers 201 with the new record.
  • PATCH changes only the fields you send.
  • DELETE archives 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."
    }
  }
}
StatusCodeWhen
400invalid_jsonThe body is not a JSON object.
401unauthorizedThe key is missing, wrong or revoked.
403insufficient_scopeA read key tried to change something.
404not_foundNo such path or record.
405method_not_allowedThe path exists but not with that method. The Allow header lists what does.
413payload_too_largeThe body is over 256 KB.
422validation_failedA value is missing or wrong. "fields" gives a message per field.
422refusedThe request is well formed but a rule of the app says no, with the app's own message.
429rate_limitedToo many requests. Retry-After says how many seconds to wait.
500internal_errorSomething 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.

RequestWhat it doesParameters and fields
GET /workspaceThe workspace this key belongs toNone

Reference: Planner

People and projects (on every plan), and bookings and the schedule (S/Planner).

RequestWhat it doesParameters and fields
GET /peopleList peopleQuery: limitcursor
POST /peopleAdd a personBody: name*emailroleLabelregionIdemploymentstandardDayHoursstartDateendDate
GET /people/{id}Get a personNone
PATCH /people/{id}Change a personBody: nameemailroleLabelregionIdemploymentstandardDayHoursstartDateendDate
DELETE /people/{id}Archive a personNone
GET /projectsList projectsQuery: companyIdstatuslimitcursor
POST /projectsAdd a projectBody: name*companyIdcodestatusbillablestartendbudgetHours
GET /projects/{id}Get a projectNone
PATCH /projects/{id}Change a projectBody: namecompanyIdcodestatusbillablestartendbudgetHours
GET /bookingsList bookings in a date rangeQuery: start*end*personIdprojectIdlimitcursor
POST /bookingsBook people onto a projectBody: projectId*personIds*start*endhoursPerDay*statusphaseIdrepeatWeeklyrepeatUntillabelnotes
GET /bookings/{id}Get a bookingNone
PATCH /bookings/{id}Change a bookingBody: projectIdpersonIdsstartendhoursPerDaystatusphaseIdrepeatWeeklyrepeatUntillabelnotes
DELETE /bookings/{id}Remove a bookingNone
GET /scheduleBooked and available hours per personQuery: start*end*personIdprojectIddays

Reference: Boards

Work items on a kanban board (S/Boards).

RequestWhat it doesParameters and fields
GET /stagesList board stagesQuery: limitcursor
GET /work-itemsList work itemsQuery: projectIdstageIdassigneeIddueBeforedueAfterlimitcursor
POST /work-itemsAdd a work itemBody: projectId*title*descriptionstageIdassigneeIdslabelsprioritydueDateestimateHoursparentIdclientVisible
GET /work-items/{id}Get a work itemNone
PATCH /work-items/{id}Change a work itemBody: titledescriptionstageIdassigneeIdslabelsprioritydueDateestimateHoursparentIdclientVisible
DELETE /work-items/{id}Archive a work itemNone
POST /work-items/{id}/moveMove a work item to a stageBody: stageId*beforeId
GET /work-items/{id}/commentsList a work item's commentsQuery: limitcursor
POST /work-items/{id}/commentsComment on a work itemBody: body*

Reference: CRM

Companies, contacts, deals and the pipeline (S/CRM).

RequestWhat it doesParameters and fields
GET /companiesList companiesQuery: lifecyclelimitcursor
POST /companiesAdd a companyBody: name*lifecyclewebsiteindustryownerUserIddeliveryOwnerUserIdrenewalDatenotes
GET /companies/{id}Get a companyNone
PATCH /companies/{id}Change a companyBody: namelifecyclewebsiteindustryownerUserIddeliveryOwnerUserIdrenewalDatenotes
GET /contactsList contactsQuery: companyIdlimitcursor
POST /contactsAdd a contactBody: name*companyIdemailphonetitlenotes
GET /contacts/{id}Get a contactNone
PATCH /contacts/{id}Change a contactBody: namecompanyIdemailphonetitlenotes
GET /deal-stagesList pipeline stagesQuery: limitcursor
GET /dealsList dealsQuery: companyIdstageIdstatuslimitcursor
POST /dealsAdd a dealBody: name*companyId*contactIdvaluecurrencyownerUserIdexpectedClosesourcenotesstageId
GET /deals/{id}Get a dealNone
PATCH /deals/{id}Change a dealBody: namecompanyIdcontactIdvaluecurrencyownerUserIdexpectedClosesourcenotes
DELETE /deals/{id}Archive a dealNone
POST /deals/{id}/moveMove a deal to a stageBody: stageId*beforeId
GET /pipelinePipeline totalsNone

Reference: Tables

Tables with typed fields, rows and saved views (S/Tables).

RequestWhat it doesParameters and fields
GET /tablesList tablesQuery: limitcursor
GET /tables/{tableId}Get a table with its fields and viewsNone
GET /tables/{tableId}/rowsList a table's rowsQuery: viewIdlimitcursor
POST /tables/{tableId}/rowsAdd a rowBody: values*
GET /tables/{tableId}/rows/{rowId}Get a rowNone
PATCH /tables/{tableId}/rows/{rowId}Change a row's cellsBody: values*
DELETE /tables/{tableId}/rows/{rowId}Remove a rowNone

A star marks a required parameter or field. Types, allowed values and full response shapes are in the OpenAPI document.