Automations

Set a node fixture

What this node gives instead of running, in a dry run and a step test: { "outputs": { "main": <value> } }, or { "error": { … } } to rehearse a failure; null clears it. Live runs never read it.

put/v1/automations/{automationId}/fixtures/{nodeId}

Request

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

Path parameters

automationId, string required

Automation ID

nodeId, string required

Node ID in the draft

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
fixture, object nullable required

What the node gives instead of running, in a dry run and when a step is tested: { "outputs": { "main": <value> } } (one key per output port the node type describes), or { "error": { "type": "…", "title": "…", "retryable": false } } to rehearse a failure. null clears it.

Response

Set

object required
success, true required
data, object required

Changes

No recorded changes to this operation across all 6 revisions of this API.