Skip to content

Strategy internal API ​

Rolling out

These routes ship with the strategy workspace, which is being rolled out now.

Internal only

Reached only through the backend: the browser calls /launch/strategy/* (client) or /system/launch/:orgId/strategy/* (staff). Internally they mount at /internal/launch/strategy (org scope) and /internal/system/launches/:orgId/strategy (system scope), with the same handlers in both.

Method & pathPurposePermission
GET /The strategy: head, current draft, approved version, noticesstrategy.read
POST /startStart a strategy (prefilled from business identity)strategy.write
PUT /steps/:stepSave one step's answerstrategy.write
POST /steps/:step/suggestionsAI suggestions for a step (fair-use limited)strategy.write
POST /fields/confirmConfirm or change AI assumptions and account-manager fieldsstrategy.write, org only
POST /competitors/lookupCompetitor search by category and area (daily cap)strategy.write
POST /helpAsk for a Spark account managerstrategy.write
PUT /notesStaff notes, never shown to the clientsystem only
POST /approveApprove the draft, bound to its content hashstrategy.approve, org only
POST /withdrawWithdraw the approvalstrategy.approve, org only
POST /draftOpen a new draft from the approved versionstrategy.write
GET /versions · GET /versions/:nVersion list · one versionstrategy.read
GET /diffWhat changed between two versionsstrategy.read
GET /monitorGoal, KPI rows and open recommendationsstrategy.read
POST /recommendations/:id/dismissDismiss a recommendation with a reasonstrategy.write
POST /review/startStart the monthly review (opens a draft)strategy.write

Org only routes refuse staff tokens with 403 client_only: staff carry every permission, so this guard is what keeps confirmation and approval with the client. System scope passes the permission checks, so staff and account managers can open and edit drafts.

Approve answers, in guard order: not_draft, steps_incomplete, steps_stale, assumptions_unconfirmed, approval_stale.

Spark help center. Questions? Email info@sparkautoflow.com.