Installs

What installing a template would do, without changing anything: each input it needs and whether bindings answers it (bound, invalid, missing), what will be created, an unverified listing’s install cap, planCaps: per kind (tables, feeds, enrichments) what the install needs against what the workspace plan has left, and planGated: the steps the workspace plan does not include (an AI categoriser on a lower plan), which the install skips — never refuses — with “Included on <Plan>: …” (planRequirements lists every one, whatever the plan). For a BankSync template whose Transactions table, feed and steps another install already holds, shareGroups lists each group: it is shared by default, and sharing: { "<key>": "own" } makes a separate copy instead (its bank is then asked again). Answer every missing or invalid input, then POST /installs with the same body.

post/v1/installs/plan

Request

  • Base URL
    https://api.banksync.io
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Headers

Idempotency-Key, string

Makes a retry safe: the same key with the same request replays the first answer for 24 hours instead of running twice, and the same key with a different request is a 409 IDEMPOTENCY_KEY_REUSED. Refusals a retry can outlive — 408, 409, 423, 425, 429 and every 5xx — are never replayed, so retrying with the same key after the cause clears runs the request.

Request body

object required
source, 'listing' | 'workspace' | 'preset' | 'inline' required

listing (with listingId), workspace (a saved blueprint, blueprintId), preset (presetKey) or inline (blueprint)

listingId, string

From GET /marketplace/listings

releaseId, string

A specific release of the listing; default its current approved release

linkToken, string

The private-link token (the ?link= value of the private link) of a listing that is not publicly listed; required to install one

blueprintId, string
presetKey, string
blueprint, object

A portable blueprint

bindings, object

Slot id → binding: {"kind":"bank","bankId"}, {"kind":"feed","feedId"}, {"kind":"connection","integrationId"}, {"kind":"container","destination"}, {"kind":"resource","id"} or {"kind":"value","value"}. The plan lists each slot and what answers it.

resourceKeys, string[]

Install only these resources (by key) and what they need

sharing, object

Per share group (the plan’s shareGroups[].key): own makes a separate copy of its tables, feed and steps instead of sharing them with the install that holds them, and asks for its bank again. Default: every group shares

Response

The plan

object required
success, true required
data, object required

Changes

    • info

      added the new optional request property sharing

    • info

      added the required property data/shareGroups to the response with the status