REST API v1 · Resource
Automations
List automations, auto replies and bots, switch them on or off, and send a WhatsApp form.
API reference · Automations
Endpoints
Paths are relative to https://fliok.com/api/v1. Each endpoint names the scope and the lowest key role it needs; a key without them gets 403 (see Authentication).
Automations
8- GET
/flowsList automation flows and whether each is published (read only). ?kind=forms lists your WhatsApp Flows (forms) insteadScopeautomations:read· viewer role or higherNeeds an API key - GET
/automationsYour CRM automations: on or off, trigger, run counts, next scheduled run and anything that would stop them — never their actionsScopeautomations:read· agent role or higherNeeds an API key - PATCH
/automations/{id}Switch an automation on or off ({ enabled }). Off always works; on follows the plan and every check, as in the dashboardScopeautomations:write· admin role or higherNeeds an API key - GET
/auto-repliesThe welcome, away and delayed-response replies: each one's switch, text and how many went outScopeautomations:read· viewer role or higherNeeds an API key - PATCH
/auto-replies/{kind}Switch the welcome, away or delayed reply on or off ({ enabled })Scopeautomations:write· admin role or higherNeeds an API key - GET
/botsYour chatbots: live or not, published version and triggers — never their stepsScopeautomations:read· viewer role or higherNeeds an API key - PATCH
/bots/{id}Put a bot live (publishes its saved draft, recorded as a version) or take it offline ({ enabled })Scopeautomations:write· admin role or higherNeeds an API key - POST
/flows/{id}/sendSend a published WhatsApp Flow (form) into a customer's chat — by conversationId, contactId or phone. Needs an open 24-hour windowScopeautomations:write· admin role or higherNeeds an API key
Rate limits
These endpoints have no row of their own in the rate-limit table.
Every limit, the RateLimit-* headers and what to do on a 429: Rate limits.