Skip to content

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) insteadScope automations:read · viewer role or higher
  • GET/automationsYour CRM automations: on or off, trigger, run counts, next scheduled run and anything that would stop them — never their actionsScope automations:read · agent role or higher
  • PATCH/automations/{id}Switch an automation on or off ({ enabled }). Off always works; on follows the plan and every check, as in the dashboardScope automations:write · admin role or higher
  • GET/auto-repliesThe welcome, away and delayed-response replies: each one's switch, text and how many went outScope automations:read · viewer role or higher
  • PATCH/auto-replies/{kind}Switch the welcome, away or delayed reply on or off ({ enabled })Scope automations:write · admin role or higher
  • GET/botsYour chatbots: live or not, published version and triggers — never their stepsScope automations:read · viewer role or higher
  • PATCH/bots/{id}Put a bot live (publishes its saved draft, recorded as a version) or take it offline ({ enabled })Scope automations:write · admin role or higher
  • POST/flows/{id}/sendSend a published WhatsApp Flow (form) into a customer's chat — by conversationId, contactId or phone. Needs an open 24-hour windowScope automations:write · admin role or higher

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.