Skip to main content
PATCH
Update, enable, or disable a workflow instance

Authorizations

X-API-KEY
string
header
required

Authorization method required to allow user to access the api endpoints.

Path Parameters

id
string
required

Body

application/json
name
string

Shown in the sidebar and run list. One per regulated entity.

Required string length: 1 - 120
Example:

"CADOC 5711 - Range Brasil Ltda"

channel_id
string<uuid>

Optional single delivery channel ID. Prefer recipients for multiple destinations; if both are supplied their IDs are combined. On PATCH, channel_id alone replaces every stored selection.

Example:

"3f7e2d1a-9c4b-4e5f-8a6d-1b2c3d4e5f6a"

recipients
string<uuid>[]

Optional delivery channel IDs; create without destinations and configure them later. Omit on PATCH to preserve selections; [] clears them. Selected channels receive eligible stored output.

enabled
boolean

Set false to keep the instance configured but paused.

Example:

true

cadence
enum<string>

Defaults to the template cadence.

Available options:
daily,
monthly,
manual,
event
Example:

"daily"

formats
string[]

Output formats; must be allowed by the template. Defaults to every allowed format.

Example:
fields
object

Template-declared fields, validated against field_schema. Required fields must be present on create. PATCH merges top-level fields; stablecoin_overrides replaces the whole map, and {} clears it. CADOC 5711 accounting switches default to false. Override keys use exact, case-sensitive network|denom identity.

Example:

Response

200 - application/json
id
string
required
Example:

"9b2f7c61-2d4e-4a8b-9f10-3c5d7e9a1b2c"

name
string
required
Example:

"CADOC 5711 - Range Brasil Ltda"

recipients
string<uuid>[]
required
enabled
boolean
required
Example:

true

cadence
enum<string>
required
Available options:
daily,
monthly,
manual,
event
formats
string[]
required
fields
object
required
Example:
created_at
string
required
Example:

"2026-08-25T00:00:00.000Z"

updated_at
string
required
Example:

"2026-08-25T00:00:00.000Z"

state
enum<string>
required

Derived from enabled and the most recent run: a disabled instance is always paused.

Available options:
active,
paused,
running,
failed,
delivery_failed
last_run
object | null
required

The most recent run, or null if the instance never ran.

updated_by
string | null

Authenticated user ID or API-key fingerprint for new mutations. Historical values are retained unchanged.

Example:

"user_123"

backfill_summary
string | null

Present on a redemption monitor. One sentence recording how many redemptions were already past their deadline when monitoring started and were stored without a case.

Last modified on October 7, 2026