Switch a default alert
Switch a default alert on or off. The first time on, its workflow is made; after that it is only switched, so edits to it are kept.
Required scopes: config:write. May need confirmation, depending on the input: then send "approved": true, or it answers 409 APPROVAL_REQUIRED.
bearerAuthAuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
length <= 255approved?booleanConfirms an action that needs approval (sending, deleting and the like).
The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/workflow.set_default_alert' \ -H 'Content-Type: application/json' \ -d '{ "input": { "key": "new_website_deal", "enabled": true }}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Automation run history POST
Paginated run history for one automation workflow, with per-step results. Required scopes: config:read. Read only.
Update automation POST
Update an automation workflow (name, trigger, conditions, steps, enabled). Required scopes: config:write. May need confirmation, depending on the input: then send "approved": true, or it answers 409 APPROVAL_REQUIRED.