Run an automation
Start a run now, with optional inputs. An automation that starts from an event runs for real only with live: true (AUTOMATION_LIVE_REQUIRED otherwise; dry-run it to rehearse). Refused until the automation is published and its grant approved by a person (it need not be activated). inputs is handed on as one item. Poll GET /v1/automation-runs/{runId} until it finishes. A start its admission holds is accepted with a 202. Send an Idempotency-Key: a retry answers the run the first call made.
Request
- Base URLhttps://api.banksync.io
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
Automation ID
Headers
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
What to start it with: a manual trigger’s inputs, or for an automation that starts from an event, the event itself (else the trigger’s sample). It is handed on as ONE item (item is this value; inputs everywhere): send a list inside it ({ "rows": [...] }) and loop over it or use it in an expression.
Which trigger to start, by its ref; else the manual trigger, a schedule, or the first that starts from an event. A ref the automation has no trigger for is refused.
Required, as true, for an automation that starts from an event, a webhook or a poll: its run is real, with the event you give or the trigger’s sample. Dry-run it to rehearse instead.
Any unique string (a UUID) you send again when you retry this call: a retry answers what the first call made and makes nothing new. Send a new one for a new call.
Response
The run an earlier call with the same idempotency key made (nothing new was made)
Changes
No recorded changes to this operation across all 6 revisions of this API.