Automations

Copy an automation

Changed on

A new draft from this one’s draft: no revision, no bindings, no config values.

post/v1/automations/{automationId}/copy

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

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
name, string required

What the library and the builder show.

placement, object

Where it goes in the workspace’s tree: { parentId, before }. Default: last at the top level.

idempotencyKey, string

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 copy an earlier call with the same idempotency key made

object required
success, true required
data, object required

Changes

    • info

      the data/automation/draft/nodes/additionalProperties/icon response's property pattern was changed from ^(?:[a-z]+:[A-Za-z0-9_-]{1,64})?$/u to ^(?:(?=[a-z0-9-]{1,64}$)[a-z]+(?:-[a-z0-9]+)*|[a-z]+:[A-Za-z0-9_-]{1,64})?$/u for the status

    • info

      the data/automation/draft/nodes/additionalProperties/icon response's property pattern was changed from ^(?:[a-z]+:[A-Za-z0-9_-]{1,64})?$/u to ^(?:(?=[a-z0-9-]{1,64}$)[a-z]+(?:-[a-z0-9]+)*|[a-z]+:[A-Za-z0-9_-]{1,64})?$/u for the status