Switch an alert
Switch one alert on or off. Switching New deal or New contact on also makes or starts its workflow; switching it off keeps the workflow and its edits.
Required scopes: config:write. Needs confirmation: with an API key, send "approved": true beside the input, 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/alert.set_switch' \ -H 'Content-Type: application/json' \ -d '{ "input": { "kind": "website_signup", "on": true }}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Edit address POST
Edit an address (street, city, state, zip, country, type, primary flag). Moving a company's billing address moves the company's address. Required scopes: companies:write. Runs at once.
Alert switches POST
Every alert Flito sends on its own (website sign-ups, returning visitors, new website deals, new contacts, identified visitors): what each does and whether it is switched on. Required scopes: config:read. Read only.