Skip to content

API and SDKs

Bots are headless: everything they do runs on their host, and every app is just a window onto it. You can drive the same bots and conversations from code.

UseBest for
WebhooksWaking a bot from another service with a secret URL.
Ask Bot nodeAsking a bot from a Flow-Like flow and using its reply.
SDKsManaging bots, secrets, conversations and messages from your own code.
REST APIEverything else. Documented in the OpenAPI reference of your hub.

All bot and conversation endpoints need a signed-in user or a personal access token. App API keys and running flows can’t manage bots.

The Node.js, Python and Rust SDKs cover bots and conversations:

  • Bots: list, create, read, update and delete bots, attach apps and manage secrets.
  • Conversations: create 1:1 chats and rooms, add members, send and read messages, react, mark as read, and publish end-to-end encryption keys.

Sending a message to a bot is enough to wake it. Its host answers in the same conversation, so read the conversation’s new entries to get the reply.

Paths are relative to your hub’s API, for example https://api.flow-like.com/api/v1.

MethodPathPurpose
GET, POST/botsList or create your bots.
GET, PATCH, DELETE/bots/{id}Read, update or delete a bot.
POST/bots/{id}/cloneDuplicate a bot.
POST/bots/{id}/askWake a bot with a message and optionally wait up to 100 seconds for the reply.
GET/bots/{id}/appsThe apps attached to a bot.
PUT, DELETE/bots/{id}/apps/{app_id}Attach or detach an app.
GET, PUT/bots/{id}/apps/{app_id}/restrictionsWhat the bot may do in that app.
GET/bots/{id}/secretsSecret names and descriptions. Values are never returned.
PUT, DELETE/bots/{id}/secrets/{name}Store or delete a secret.
GET, POST/bots/{id}/tasksList or create scheduled tasks.
PATCH, DELETE/bots/{id}/tasks/{task_id}Change, pause or delete a task.
POST/bots/{id}/tasks/{task_id}/fireRun a task now.
GET, POST/bots/{id}/webhooksList or create webhooks.
PATCH, DELETE/bots/{id}/webhooks/{hook_id}Change or delete a webhook; POST .../rotate issues a new secret.
GET, PUT, DELETE/bots/{id}/calendar/feedRead, create or change, or remove the bot’s calendar subscription link; POST .../rotate issues a new link. Owner only.
POST/bots/hooks/{hook_id}The public webhook URL.
POST/bots/{id}/turns/{turn_id}/approvalAnswer an approval card.
GET, DELETE/bots/{id}/tool-grantsList and revoke standing approvals.
GET/bots/{id}/memory/factsWhat the bot remembers.
DELETE/bots/{id}/memory/facts/{fact_id}Forget one fact. DELETE /bots/{id}/memory forgets everything.
GET/bots/{id}/memory/entitiesThe people, places, organizations, projects and things the facts are about, with fact counts.
PATCH, DELETE/bots/{id}/memory/entities/{entity_id}Rename an entry or change its kind, or forget it with every fact about it. Pass ?scope= for an entry from a room.
POST/bots/{id}/memory/entities/{entity_id}/mergeMerge an entry into another one ({"into": "<entity_id>"}) of the same conversation.
GET, POST/bots/{id}/skillsList or add skills; approve or disable them under .../skills/{skill_id}.
GET/bots/{id}/usageUsage and limits, overall and per room.
GET/bots/presenceWhich hosts are online.
MethodPathPurpose
GET, POST/inbox/conversationsList or create 1:1 chats and rooms.
GET, PATCH, DELETE/inbox/conversations/{id}Read, rename or leave a conversation.
GET, POST/inbox/conversations/{id}/entriesRead or send messages.
POST/inbox/conversations/{id}/readMark as read.
POST, DELETE/inbox/conversations/{id}/members/...Add or remove members.
PATCH/inbox/conversations/{id}/members/{member}/limitsSet a bot’s room limits.
GET/inbox/conversations/{id}/turnsWhat the bots in a conversation are doing.
GET, POST, DELETE/inbox/conversations/{id}/linksInvite links.
GET/inbox/invitationsYour pending invitations; accept or decline them.
GET, PUT, DELETE/inbox/blocks/...Blocked people and bots.
GET, PUT/inbox/keysEnd-to-end encryption keys.
Terminal window
curl -X POST "https://api.flow-like.com/api/v1/bots/$BOT_ID/ask" \
-H "Authorization: Bearer $FLOW_LIKE_PAT" \
-H "Content-Type: application/json" \
-d '{"message": "Summarize yesterday'\''s failed runs", "wait_seconds": 60, "request_id": "daily-2026-11-09"}'

The message lands in your 1:1 chat with the bot, marked Event: From a flow. A repeated request_id returns the same turn instead of starting a new one. Only the bot’s owner can ask it this way.

The desktop app runs its own bot host. Bots you create while signed out are stored on that computer and are moved to your account with an explicit click, never silently. The same host answers your account’s desktop bots while the app runs.