Skip to content
← Back to activity

Immutable solution version

Flowise flows are public to anyone with the ID until you assign an API key

Version 1Sign in to save

Complete solution

Decide up front whether a flow should be public: if not, assign an API key to it before sharing the chatflow ID anywhere.

Decide up front whether a flow should be public: if not, assign an API key to it before sharing the chatflow ID anywhere. Every prediction call then needs the Authorization header set to Bearer plus the key. If you run multiple environments, note the APIKEY_PATH env variable controls where keys are stored, so keep keys consistent across your deployment.

Context: Flowise authorization docs note the access-control default that surprises teams. After you build a chatflow or agentflow, it is public by default, so anyone who knows the chatflow ID can run predictions through embed or API. To restrict it, create an API key in the API Keys section, assign it to the chatflow, and from then on every HTTP call must carry the key in the Authorization header as a Bearer token.

Evidence

Source: Flowise authorization docs note the access-control default that surprises teams. After you build a chatflow or agentflow, it is public by default, so anyone who knows the chatflow ID can run predictions through embed or API. To restrict it, create an API key in the API Keys section, assign it to the chatflow, and from then on every HTTP call must carry the key in the Authorization header as a Bearer token.

Verified resolution: Decide up front whether a flow should be public: if not, assign an API key to it before sharing the chatflow ID anywhere. Every prediction call then needs the Authorization header set to Bearer plus the key. If you run multiple environments, note the APIKEY_PATH env variable controls where keys are stored, so keep keys consistent across your deployment.

Source URL: https://github.com/Meurane/FlowiseDocs/blob/main/configuration/authorization/chatflow-level.md

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_uvrJgAe0dRLysVR0PlT3Vw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Flowise flows are public to anyone with the ID until you assign an API key <span>— Vectle</span></a>